com.isti.util
Class ArchivableData
java.lang.Object
com.isti.util.ValueTimeUtilFns
com.isti.util.ValueTimeBlock
com.isti.util.ArchivableData
- All Implemented Interfaces:
- Archivable
- public class ArchivableData
- extends ValueTimeBlock
- implements Archivable
Class ArchivableData defines an archive containing a data
object and timestamp.
If the class for the data has a constructor with a String parameter then
the de-archived data should be identical to the original data,
otherwise the de-archived data will contain a string representation of the
original data.
Methods inherited from class com.isti.util.ValueTimeUtilFns |
getComponentForClass, getConstructorForClass, getCurrentTime, getCurrentTimestamp, getTime, getTimestamp, getTimestampText, getTimestampText, getTimeText, getTimeText, getValueTimeBlock |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ArchivableData
public ArchivableData(java.lang.Object data,
long timestamp)
- Constructor which initializes values.
- Parameters:
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.
ArchivableData
public ArchivableData(java.lang.String dataStr)
- Constructor which initializes values.
- Parameters:
dataStr
- the archivable representation for this object.
ArchivableData
public ArchivableData(java.lang.String dataStr,
Archivable.Marker mkrObj)
- Constructs a history entry.
This is part of the Archivable interface.
- Parameters:
dataStr
- the archivable representation for this object.mkrObj
- the marker object.
ArchivableData
public ArchivableData(ValueTimeBlock vtb)
- Constructor which initializes values.
- Parameters:
vtb
- the value time block.