Class ObservationEvent.TimeStampedObservationEvent

java.lang.Object
eu.iv4xr.framework.mainConcepts.ObservationEvent
eu.iv4xr.framework.mainConcepts.ObservationEvent.TimeStampedObservationEvent
All Implemented Interfaces:
Serializable, Parsable
Direct Known Subclasses:
ObservationEvent.ScalarTracingEvent, ObservationEvent.VerdictEvent
Enclosing class:
ObservationEvent

public static class ObservationEvent.TimeStampedObservationEvent extends ObservationEvent
This class is used to represent observation-events that need to be time-stamped.
See Also:
Serialized Form
  • Field Details

    • timestamp

      protected LocalTime timestamp
    • info

      protected String info
      Further information about this event. It can be null, or something that is not an empty string.
  • Constructor Details

    • TimeStampedObservationEvent

      TimeStampedObservationEvent()
    • TimeStampedObservationEvent

      public TimeStampedObservationEvent(String familyName, String info)
      Create a time-stamped observation-event. The stamped time is the time of this creation.
      Parameters:
      familyName - A name to classify this event as belonging to the said family.
      info - Additional information to describe the event.
    • TimeStampedObservationEvent

      public TimeStampedObservationEvent(String familyName)
      Create a time-stamped observation-event with the given id. The stamped time is the time of this creation.
  • Method Details