Class CommunityProfileEventHeader

java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.events.CommunityProfileEventHeader
Direct Known Subclasses:
CommunityProfileOutboundEvent

public abstract class CommunityProfileEventHeader extends Object
CommunityProfileEventHeader provides a common base for all events from the access service. It implements a version Id.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Return comparison result based on the content of the properties.
    long
    Return the event version id for this event structure.
    int
    Return hash code for this object
    void
    setEventVersionId(long eventVersionId)
    Set up the event version id for this event structure.
    JSON-style toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • 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 String toString()
      JSON-style toString
      Overrides:
      toString in class Object
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

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