Class TimeStampImpl1
java.lang.Object
info.oais.implementation.infomodel.InformationObjectImpl1
info.oais.implementation.infomodel.poss1Provenance.TimeStampImpl1
- All Implemented Interfaces:
InformationObject
,TimeStamp
,Serializable
public class TimeStampImpl1 extends InformationObjectImpl1 implements TimeStamp, Serializable
The time of the Step, which may include a duration, time system etc.
The time system may be for example Earth timezone.
- Since:
- 06-Sep-2021 15:59:47
- Version:
- 1.0
- Author:
- David
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description (package private) ZonedDateTime
m_DateTime
Internal value for the timestamp.private static long
serialVersionUID
For object serialization -
Constructor Summary
Constructors Constructor Description TimeStampImpl1()
-
Method Summary
Modifier and Type Method Description ZonedDateTime
getDateTime()
Return the DateTime.void
setDateTime(ZonedDateTime dt)
Set the DateTime.Methods inherited from class info.oais.implementation.infomodel.InformationObjectImpl1
finalize, getDataObject, getDataObjectId, getIdentifier, getRepInfoId, getRepresentationInformation, setDataObject, setDataObject, setIdentifier, setRepInfoId, setRepresentationInformation
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface info.oais.interfaces.infomodel.InformationObject
getDataObject, getIdentifier, getRepresentationInformation, setDataObject, setIdentifier, setRepresentationInformation
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor object serialization- See Also:
- Constant Field Values
-
m_DateTime
ZonedDateTime m_DateTimeInternal value for the timestamp.
-
-
Constructor Details
-
TimeStampImpl1
public TimeStampImpl1()
-
-
Method Details
-
getDateTime
Return the DateTime.- Specified by:
getDateTime
in interfaceTimeStamp
- Returns:
- the DateTime.
-
setDateTime
Set the DateTime.- Specified by:
setDateTime
in interfaceTimeStamp
- Parameters:
dt
- The DateTime.
-