Class AssetConsumerEvent
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetconsumer.events.AssetConsumerEvent
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AssetEvent
public abstract class AssetConsumerEvent extends Object implements Serializable
AssetConsumerEvent 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.AssetConsumerEventTypegetEventType()Return the type of event.longgetEventVersionId()Return the event version id for this event structure.inthashCode()Return hash code for this objectvoidsetEventType(AssetConsumerEventType eventType)Set up the type of event.voidsetEventVersionId(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
-
getEventType
public AssetConsumerEventType getEventType()
Return the type of event.- Returns:
- event type enum
-
setEventType
public void setEventType(AssetConsumerEventType eventType)
Set up the type of event.- Parameters:
eventType- - event type enum
-
toString
public String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-