Class DigitalServiceEventHeader
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.digitalservice.events.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 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
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-