Class CommunityProfileEventHeader
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.communityprofile.events.CommunityProfileEventHeader
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CommunityProfileOutboundEvent
public abstract class CommunityProfileEventHeader extends Object implements Serializable
CommunityProfileEventHeader 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 booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.longgetEventVersionId()Return the event version id for this event structure.inthashCode()Return hash code for this objectvoidsetEventVersionId(long eventVersionId)Set up the event version id for this event structure.StringtoString()JSON-style toString
-
-
-
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 String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-