Class SecurityManagerOutTopicEvent
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.securitymanager.events.SecurityManagerOutTopicEvent
-
- All Implemented Interfaces:
Serializable
public class SecurityManagerOutTopicEvent extends Object implements Serializable
SecurityManagerEventHeader provides a common base for all events from the Security Manager OMAS.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SecurityManagerOutTopicEvent()Default ConstructorSecurityManagerOutTopicEvent(SecurityManagerOutTopicEvent 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.SecurityManagerEventTypegetEventType()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(SecurityManagerEventType eventType)Set up the event type.voidsetEventVersionId(long eventVersionId)Set up the event version id.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
SecurityManagerOutTopicEvent
public SecurityManagerOutTopicEvent()
Default Constructor
-
SecurityManagerOutTopicEvent
public SecurityManagerOutTopicEvent(SecurityManagerOutTopicEvent 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 SecurityManagerEventType getEventType()
Return the event type.- Returns:
- the event type enum
-
setEventType
public void setEventType(SecurityManagerEventType 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.
-
-