Class OMRSEventBean
java.lang.Object
org.odpi.openmetadata.repositoryservices.events.beans.OMRSEventBean
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
OMRSEventV1
OMRSEventBean provides a common root for all bean versions of the OMRSEvent. It has no content beyond
the event's protocol version, but the
Jackson annotations declare the valid supported versions in this server.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDefault constructor used when recreating events from JSON StringsOMRSEventBean
(String protocolVersionId) Constructor used when an instance of the subclass is created. -
Method Summary
Modifier and TypeMethodDescriptionReturn the protocol version identifier for this event.void
setProtocolVersionId
(String protocolVersionId) Set up the protocol version id for this event.toString()
JSON-style toString.
-
Field Details
-
protocolVersionId
-
-
Constructor Details
-
OMRSEventBean
public OMRSEventBean()Default constructor used when recreating events from JSON Strings -
OMRSEventBean
Constructor used when an instance of the subclass is created.- Parameters:
protocolVersionId
- version name
-
-
Method Details
-
getProtocolVersionId
Return the protocol version identifier for this event.- Returns:
- version name
-
setProtocolVersionId
Set up the protocol version id for this event.- Parameters:
protocolVersionId
- version name
-
toString
JSON-style toString.
-