Class DigitalServiceEventHeader

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    DigitalServiceEvent

    public abstract class DigitalServiceEventHeader
    extends Object
    implements Serializable
    DigitalServiceEventHeader provides a common base for all events from the access service. It implements Serializable and a version Id.
    See Also:
    Serialized Form
    • Method Detail

      • getEventVersionId

        public long getEventVersionId()
        Return the event version id for this event structure.
        Returns:
        long
      • setEventVersionId

        public void setEventVersionId​(long eventVersionId)
        Set up the event version id for this event structure.
        Parameters:
        eventVersionId - long
      • equals

        public boolean equals​(Object objectToCompare)
        Return comparison result based on the content of the properties.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Return hash code for this object
        Overrides:
        hashCode in class Object