Class GovernanceEngineEvent
java.lang.Object
org.odpi.openmetadata.accessservices.governanceengine.events.GovernanceEngineEvent
- Direct Known Subclasses:
WatchdogGovernanceServiceEvent
GovernanceEngineEvent provides a common base for all events from the access service.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the type of event.long
Return the event version id for this event structure.Return the unique identifier of the governance engine that has a configuration change.Return the unique name of the governance engine that has a configuration change.int
hashCode()
Return hash code for this objectvoid
setEventType
(GovernanceEngineEventType eventType) Set up the type of event.void
setEventVersionId
(long eventVersionId) Set up the event version id for this event structure.void
setGovernanceEngineGUID
(String governanceEngineGUID) Set up the unique identifier of the governance engine that has a configuration change.void
setGovernanceEngineName
(String governanceEngineName) Set up the unique name of the governance engine that has a configuration change.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
-
getGovernanceEngineGUID
Return the unique identifier of the governance engine that has a configuration change.- Returns:
- string guid
-
setGovernanceEngineGUID
Set up the unique identifier of the governance engine that has a configuration change.- Parameters:
governanceEngineGUID
- string guid
-
getGovernanceEngineName
Return the unique name of the governance engine that has a configuration change.- Returns:
- string name
-
setGovernanceEngineName
Set up the unique name of the governance engine that has a configuration change.- Parameters:
governanceEngineName
- string name
-
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
-