Class OMRSEventV1RegistrySection
java.lang.Object
org.odpi.openmetadata.repositoryservices.events.beans.v1.OMRSEventV1RegistrySection
- All Implemented Interfaces:
Serializable
OMRSEventV1RegistrySection describes properties that are used exclusively for registry events.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the optional metadata collection name.Return the timestamp for the registration.Return the reason for the event.org.odpi.openmetadata.frameworks.connectors.properties.beans.ConnectionReturn the connection used to call the remote repository.voidsetMetadataCollectionName(String metadataCollectionName) Set up the optional metadata collection name.voidsetRegistrationTimestamp(Date registrationTimestamp) Set up the timestamp for the registration.voidsetRegistryEventType(OMRSRegistryEventType registryEventType) Set up the reason for the event.voidsetRemoteConnection(org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection remoteConnection) Set up the connection used to call the remote repository.toString()JSON-style toString.
-
Constructor Details
-
OMRSEventV1RegistrySection
public OMRSEventV1RegistrySection()Default constructor
-
-
Method Details
-
getRegistryEventType
Return the reason for the event.- Returns:
- enum
-
setRegistryEventType
Set up the reason for the event.- Parameters:
registryEventType- enum
-
getRegistrationTimestamp
Return the timestamp for the registration.- Returns:
- date/time
-
setRegistrationTimestamp
Set up the timestamp for the registration.- Parameters:
registrationTimestamp- date/time
-
getMetadataCollectionName
Return the optional metadata collection name.- Returns:
- name
-
setMetadataCollectionName
Set up the optional metadata collection name.- Parameters:
metadataCollectionName- name
-
getRemoteConnection
public org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection getRemoteConnection()Return the connection used to call the remote repository.- Returns:
- connection
-
setRemoteConnection
public void setRemoteConnection(org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection remoteConnection) Set up the connection used to call the remote repository.- Parameters:
remoteConnection- connection
-
toString
JSON-style toString.
-