/** * get an attribute as timestamp * * @param attributeName * the attribute to get * @return the timestamp or <code>null</code> if the timestamp property is not set */ public Calendar getAsTimestamp ( final String attributeName ) { return getAsTimestamp ( this.attributes, attributeName ); }
/** * get the timestamp of the value * * @return the timestamp or <code>null</code> if the timestamp property is not set */ public Calendar getTimestamp () { return getAsTimestamp ( "timestamp" ); }
public Calendar getAsTimestamp ( final String attributeName ) { return DataItemValue.getAsTimestamp ( this.attributes, attributeName ); }
/** * get an attribute as timestamp * * @param attributeName * the attribute to get * @return the timestamp or <code>null</code> if the timestamp property is not set */ public Calendar getAsTimestamp ( final String attributeName ) { return getAsTimestamp ( this.attributes, attributeName ); }
/** * get the timestamp of the value * * @return the timestamp or <code>null</code> if the timestamp property is not set */ public Calendar getTimestamp () { return getAsTimestamp ( "timestamp" ); }
public Calendar getAsTimestamp ( final String attributeName ) { return DataItemValue.getAsTimestamp ( this.attributes, attributeName ); }
timestamp = value.getAsTimestamp ( "org.eclipse.scada.da.master.common.block.timestamp" ); //$NON-NLS-1$ reason = value.getAttributes ().get ( "org.eclipse.scada.da.master.common.block.note" ); //$NON-NLS-1$ user = value.getAttributes ().get ( "org.eclipse.scada.da.master.common.block.user" ); //$NON-NLS-1$
timestamp = value.getAsTimestamp ( "org.eclipse.scada.da.master.common.block.timestamp" ); //$NON-NLS-1$ reason = value.getAttributes ().get ( "org.eclipse.scada.da.master.common.block.note" ); //$NON-NLS-1$ user = value.getAttributes ().get ( "org.eclipse.scada.da.master.common.block.user" ); //$NON-NLS-1$