Package org.opentcs.data
Klasse ObjectHistory.Entry
java.lang.Object
org.opentcs.data.ObjectHistory.Entry
- Alle implementierten Schnittstellen:
Serializable
- Umschließende Klasse:
ObjectHistory
An entry/event in a history.
- Siehe auch:
-
Konstruktorübersicht
KonstruktorBeschreibungCreates a new instance with the timestamp set to the current point of time and an empty supplement.Creates a new instance with the timestamp set to the current point of time.Creates a new instance with an empty supplement.Creates a new instance. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns this entry's event code.Returns a supplemental object providing details about the event.Returns this entry's timestamp.toString()
-
Konstruktordetails
-
Entry
Creates a new instance.- Parameter:
timestamp
- The point of time at which the event occured.eventCode
- A code identifying the event that occured.supplement
- Supplementary information about the event. Must beSerializable
and should provide a human-readable default representation from itstoString()
method.
-
Entry
Creates a new instance with an empty supplement.- Parameter:
timestamp
- The point of time at which the event occured.eventCode
- A code identifying the event that occured.
-
Entry
Creates a new instance with the timestamp set to the current point of time.- Parameter:
eventCode
- A code identifying the event that occured.supplement
- Supplementary information about the event. Must beSerializable
and should provide a human-readable default representation from itstoString()
method.
-
Entry
Creates a new instance with the timestamp set to the current point of time and an empty supplement.- Parameter:
eventCode
- A code identifying the event that occured.
-
-
Methodendetails
-
getTimestamp
Returns this entry's timestamp.- Gibt zurück:
- This entry's timestamp.
-
getEventCode
Returns this entry's event code.- Gibt zurück:
- This entry's event code.
-
getSupplement
Returns a supplemental object providing details about the event.- Gibt zurück:
- A supplemental object providing details about the event.
-
toString
-