Class DataEngineEventHeader
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.dataengine.event.DataEngineEventHeader
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DatabaseEvent,DatabaseSchemaEvent,DataEngineRegistrationEvent,DataFileEvent,DeleteEvent,EventTypeEvent,FindEvent,LineageMappingsEvent,PortAliasEvent,PortImplementationEvent,ProcessEvent,ProcessHierarchyEvent,ProcessListEvent,RelationalTableEvent,SchemaTypeEvent,TopicEvent
public abstract class DataEngineEventHeader extends Object implements Serializable
DataEngineEventHeader provides a common base for all events from the Data Engine access service. It implements Serializable and a version Id.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataEngineEventHeader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)DataEngineEventTypegetDataEngineEventType()Gets the Data Engine event typelonggetEventVersionId()Gets the event version IDStringgetExternalSourceName()Gets the external source type unique nameStringgetUserId()Gets user IDinthashCode()voidsetDataEngineEventType(DataEngineEventType dataEngineEventType)Sets the Data Engine event typevoidsetEventVersionId(long eventVersionId)Sets the event version IDvoidsetExternalSourceName(String externalSourceName)Sets the external source type unique namevoidsetUserId(String userId)Sets the user IDStringtoString()
-
-
-
Method Detail
-
getEventVersionId
public long getEventVersionId()
Gets the event version ID- Returns:
- the event version ID
-
getDataEngineEventType
public DataEngineEventType getDataEngineEventType()
Gets the Data Engine event type- Returns:
- the Data Engine event type
-
getExternalSourceName
public String getExternalSourceName()
Gets the external source type unique name- Returns:
- the external source type unique name
-
getUserId
public String getUserId()
Gets user ID- Returns:
- the user ID
-
setEventVersionId
public void setEventVersionId(long eventVersionId)
Sets the event version ID- Parameters:
eventVersionId- the event version ID
-
setDataEngineEventType
public void setDataEngineEventType(DataEngineEventType dataEngineEventType)
Sets the Data Engine event type- Parameters:
dataEngineEventType- the Data Engine event type
-
setExternalSourceName
public void setExternalSourceName(String externalSourceName)
Sets the external source type unique name- Parameters:
externalSourceName- the external source type unique name
-
setUserId
public void setUserId(String userId)
Sets the user ID- Parameters:
userId- the user ID
-
canEqual
protected boolean canEqual(Object other)
-
-