Class DiscoveryEngineEvent
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.discoveryengine.events.DiscoveryEngineEvent
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DiscoveryEngineConfigurationEvent
public abstract class DiscoveryEngineEvent extends Object implements Serializable
DiscoveryEngineEvent 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.DiscoveryEngineEventTypegetEventType()Return the type of event.longgetEventVersionId()Return the event version id for this event structure.inthashCode()Return hash code for this objectvoidsetEventType(DiscoveryEngineEventType 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 DiscoveryEngineEventType getEventType()
Return the type of event.- Returns:
- event type enum
-
setEventType
public void setEventType(DiscoveryEngineEventType 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.
-
-