Class DataEngineEventHeader
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.dataengine.event.DataEngineEventHeader
-
- Direct Known Subclasses:
DatabaseEvent,DataEngineRegistrationEvent,DataFileEvent,DeleteEvent,LineageMappingsEvent,PortAliasEvent,PortImplementationEvent,ProcessEvent,ProcessHierarchyEvent,ProcessListEvent,RelationalTableEvent,SchemaTypeEvent
public abstract class DataEngineEventHeader extends Object
DataEngineEventHeader provides a common base for all events from the Data Engine access service. It implements Serializable and a version Id.
-
-
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)DataEngineEventTypegetEventType()Gets the Data Engine event typelonggetEventVersionId()Gets the event version IDStringgetExternalSourceName()Gets the external source type unique nameStringgetUserId()Gets user IDinthashCode()voidsetEventType(DataEngineEventType eventType)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
-
getEventType
public DataEngineEventType getEventType()
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
-
setEventType
public void setEventType(DataEngineEventType eventType)
Sets the Data Engine event type- Parameters:
eventType- 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)
-
-