Class GovernanceServerEvent
java.lang.Object
org.odpi.openmetadata.accessservices.governanceserver.events.GovernanceServerEvent
- Direct Known Subclasses:
GovernanceEngineConfigurationEvent,IntegrationConnectorConfigurationEvent,IntegrationGroupConfigurationEvent,WatchdogGovernanceServiceEvent
GovernanceEngineEvent provides a common base for all events from the access service.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the type of event.longReturn the event version id for this event structure.inthashCode()Return hash code for this objectvoidsetEventType(GovernanceServerEventType eventType) Set up the type of event.voidsetEventVersionId(long eventVersionId) Set up the event version id for this event structure.toString()JSON-style toString
-
Method Details
-
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
Return the type of event.- Returns:
- event type enum
-
setEventType
Set up the type of event.- Parameters:
eventType- - event type enum
-
toString
JSON-style toString -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-