public class ArchivableData extends ValueTimeBlock implements Archivable
Archivable.Marker
data, timestamp
constructorParameterTypes, DATA_SEPARATOR, gmtFlag
Constructor and Description |
---|
ArchivableData(java.lang.Object data,
long timestamp)
Constructor which initializes values.
|
ArchivableData(java.lang.String dataStr)
Constructor which initializes values.
|
ArchivableData(java.lang.String dataStr,
Archivable.Marker mkrObj)
Constructs a history entry.
|
ArchivableData(ValueTimeBlock vtb)
Constructor which initializes values.
|
Modifier and Type | Method and Description |
---|---|
protected static ValueTimeBlock |
getCheckValueTimeBlk(java.lang.String dataStr)
Gets the value time block for the specified data string.
|
dataEquals, equals, equals, getArchiveDate, getArchiveTime, getTimestampText, hashCode, timestampEquals, toArchivedForm, toString
getComponentForClass, getConstructorForClass, getCurrentTime, getCurrentTimestamp, getTime, getTimestamp, getTimestampText, getTimestampText, getTimeText, getTimeText, getValueTimeBlock
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getArchiveDate, toArchivedForm
public ArchivableData(java.lang.Object data, long timestamp)
data
- data object, such as Integer, Double, String, etc.timestamp
- timestamp value for data which is
the number of seconds since January 1, 1970, 00:00:00 GMT.public ArchivableData(java.lang.String dataStr) throws java.lang.IllegalArgumentException
dataStr
- value-time format archivable representation for
this object.java.lang.IllegalArgumentException
- if an error occurred.public ArchivableData(java.lang.String dataStr, Archivable.Marker mkrObj) throws java.lang.IllegalArgumentException
dataStr
- value-time format archivable representation for
this object.mkrObj
- the marker object.java.lang.IllegalArgumentException
- if an error occurred.public ArchivableData(ValueTimeBlock vtb)
vtb
- the value time block.protected static ValueTimeBlock getCheckValueTimeBlk(java.lang.String dataStr) throws java.lang.IllegalArgumentException
dataStr
- value-time format data string.java.lang.IllegalArgumentException
- if an error occurred.