Class DigitalServiceEventHeader

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    DigitalServiceOutboundEvent

    public abstract class DigitalServiceEventHeader
    extends java.lang.Object
    implements java.io.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 Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object objectToCompare)
      Return comparison result based on the content of the properties.
      long getEventVersionId()
      Return the event version id for this event structure.
      int hashCode()
      Return hash code for this object
      void setEventVersionId​(long eventVersionId)
      Set up the event version id for this event structure.
      java.lang.String toString()
      JSON-style toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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
      • toString

        public java.lang.String toString()
        JSON-style toString
        Overrides:
        toString in class java.lang.Object
      • equals

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

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