Class DigitalArchitectureEvent
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.digitalarchitecture.events.DigitalArchitectureEventHeader
-
- org.odpi.openmetadata.accessservices.digitalarchitecture.events.DigitalArchitectureEvent
-
- All Implemented Interfaces:
Serializable
public class DigitalArchitectureEvent extends DigitalArchitectureEventHeader
DigitalArchitectureEvent describes the structure of the events emitted by the Digital Architecture OMAS.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DigitalArchitectureEvent()Default constructorDigitalArchitectureEvent(DigitalArchitectureEvent 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.DigitalArchitectureEventTypegetEventType()Return the type of event.inthashCode()Return hash code for this objectvoidsetEventType(DigitalArchitectureEventType eventType)Set up the type of event.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.digitalarchitecture.events.DigitalArchitectureEventHeader
getEventVersionId, setEventVersionId
-
-
-
-
Constructor Detail
-
DigitalArchitectureEvent
public DigitalArchitectureEvent()
Default constructor
-
DigitalArchitectureEvent
public DigitalArchitectureEvent(DigitalArchitectureEvent template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getEventType
public DigitalArchitectureEventType getEventType()
Return the type of event.- Returns:
- event type enum
-
setEventType
public void setEventType(DigitalArchitectureEventType eventType)
Set up the type of event.- Parameters:
eventType- - event type enum
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classDigitalArchitectureEventHeader- 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 classDigitalArchitectureEventHeader- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classDigitalArchitectureEventHeader- Returns:
- int hash code
-
-