Class AssetManagerOutTopicEvent
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetmanager.events.AssetManagerOutTopicEvent
-
- All Implemented Interfaces:
Serializable
public class AssetManagerOutTopicEvent extends Object implements Serializable
AssetManagerEventHeader provides a common base for all events from the Asset Manager OMAS.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AssetManagerOutTopicEvent()Default ConstructorAssetManagerOutTopicEvent(AssetManagerOutTopicEvent template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.ElementHeadergetElementHeader()Return details of the subject of the event.AssetManagerEventTypegetEventType()Return the event type.longgetEventVersionId()Return the event version id.inthashCode()Create a hash code for this element type.voidsetElementHeader(ElementHeader elementHeader)Set up details of the subject of the event.voidsetEventType(AssetManagerEventType eventType)Set up the event type.voidsetEventVersionId(long eventVersionId)Set up the event version id.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
AssetManagerOutTopicEvent
public AssetManagerOutTopicEvent()
Default Constructor
-
AssetManagerOutTopicEvent
public AssetManagerOutTopicEvent(AssetManagerOutTopicEvent template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getEventVersionId
public long getEventVersionId()
Return the event version id.- Returns:
- long
-
setEventVersionId
public void setEventVersionId(long eventVersionId)
Set up the event version id.- Parameters:
eventVersionId- long
-
getEventType
public AssetManagerEventType getEventType()
Return the event type.- Returns:
- the event type enum
-
setEventType
public void setEventType(AssetManagerEventType eventType)
Set up the event type.- Parameters:
eventType- event type enum
-
getElementHeader
public ElementHeader getElementHeader()
Return details of the subject of the event.- Returns:
- element header
-
setElementHeader
public void setElementHeader(ElementHeader elementHeader)
Set up details of the subject of the event.- Parameters:
elementHeader- element header
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-