Class DataManagerOutboundEvent
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.datamanager.events.DataManagerEventHeader
-
- org.odpi.openmetadata.accessservices.datamanager.events.DataManagerOutboundEvent
-
- All Implemented Interfaces:
Serializable
public class DataManagerOutboundEvent extends DataManagerEventHeader
DataManagerOutboundEvent describes the structure of the events emitted by the Data Manager OMAS.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataManagerOutboundEvent()Default constructorDataManagerOutboundEvent(DataManagerOutboundEvent template)Copy/clone constructor
-
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.StringgetClassificationName()Return the name of the classification that has changed.ElementStubgetEndOneElement()Return the element at end one of the relationship that is described in the principleElement.ElementStubgetEndTwoElement()DataManagerOutboundEventTypegetEventType()Return the type of event.ElementStubgetPrincipleElement()Return the element that is the subject of the event.inthashCode()Return hash code for this objectvoidsetClassificationName(String classificationName)Set up the name of the classification that has changed.voidsetEndOneElement(ElementStub endOneElement)voidsetEndTwoElement(ElementStub endTwoElement)voidsetEventType(DataManagerOutboundEventType eventType)Set up the type of event.voidsetPrincipleElement(ElementStub principleElement)Set up the element that is the subject of the event.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.datamanager.events.DataManagerEventHeader
getEventVersionId, setEventVersionId
-
-
-
-
Constructor Detail
-
DataManagerOutboundEvent
public DataManagerOutboundEvent()
Default constructor
-
DataManagerOutboundEvent
public DataManagerOutboundEvent(DataManagerOutboundEvent template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getEventType
public DataManagerOutboundEventType getEventType()
Return the type of event.- Returns:
- event type enum
-
setEventType
public void setEventType(DataManagerOutboundEventType eventType)
Set up the type of event.- Parameters:
eventType- - event type enum
-
getPrincipleElement
public ElementStub getPrincipleElement()
Return the element that is the subject of the event.- Returns:
- element identifiers
-
setPrincipleElement
public void setPrincipleElement(ElementStub principleElement)
Set up the element that is the subject of the event.- Parameters:
principleElement- element identifiers
-
getClassificationName
public String getClassificationName()
Return the name of the classification that has changed. Only set up for classify, reclassify and declassify events.- Returns:
- string name
-
setClassificationName
public void setClassificationName(String classificationName)
Set up the name of the classification that has changed. Only set up for classify, reclassify and declassify events.- Parameters:
classificationName- string name
-
getEndOneElement
public ElementStub getEndOneElement()
Return the element at end one of the relationship that is described in the principleElement. This is only set up on- Returns:
-
setEndOneElement
public void setEndOneElement(ElementStub endOneElement)
-
getEndTwoElement
public ElementStub getEndTwoElement()
-
setEndTwoElement
public void setEndTwoElement(ElementStub endTwoElement)
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classDataManagerEventHeader- Returns:
- return string containing the property names and values
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.- Overrides:
equalsin classDataManagerEventHeader- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classDataManagerEventHeader- Returns:
- int hash code
-
-