Class DiscoveryEngineEvent
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.discoveryengine.events.DiscoveryEngineEvent
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
DiscoveryEngineConfigurationEvent
public abstract class DiscoveryEngineEvent extends java.lang.Object implements java.io.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 boolean
equals(java.lang.Object objectToCompare)
Return comparison result based on the content of the properties.DiscoveryEngineEventType
getEventType()
Return the type of event.long
getEventVersionId()
Return the event version id for this event structure.int
hashCode()
Return hash code for this objectvoid
setEventType(DiscoveryEngineEventType eventType)
Set up the type of event.void
setEventVersionId(long eventVersionId)
Set up the event version id for this event structure.java.lang.String
toString()
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 java.lang.String toString()
JSON-style toString- Overrides:
toString
in classjava.lang.Object
- Returns:
- return string containing the property names and values
-
equals
public boolean equals(java.lang.Object objectToCompare)
Return comparison result based on the content of the properties.- Overrides:
equals
in classjava.lang.Object
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCode
in classjava.lang.Object
- Returns:
- int hash code
-
-