Class OMRSEventV1RegistrySection

java.lang.Object
org.odpi.openmetadata.repositoryservices.events.beans.v1.OMRSEventV1RegistrySection
All Implemented Interfaces:
Serializable

public class OMRSEventV1RegistrySection extends Object implements Serializable
OMRSEventV1RegistrySection describes properties that are used exclusively for registry events.
See Also:
  • Constructor Details

    • OMRSEventV1RegistrySection

      public OMRSEventV1RegistrySection()
      Default constructor
  • Method Details

    • getRegistryEventType

      public OMRSRegistryEventType getRegistryEventType()
      Return the reason for the event.
      Returns:
      enum
    • setRegistryEventType

      public void setRegistryEventType(OMRSRegistryEventType registryEventType)
      Set up the reason for the event.
      Parameters:
      registryEventType - enum
    • getRegistrationTimestamp

      public Date getRegistrationTimestamp()
      Return the timestamp for the registration.
      Returns:
      date/time
    • setRegistrationTimestamp

      public void setRegistrationTimestamp(Date registrationTimestamp)
      Set up the timestamp for the registration.
      Parameters:
      registrationTimestamp - date/time
    • getMetadataCollectionName

      public String getMetadataCollectionName()
      Return the optional metadata collection name.
      Returns:
      name
    • setMetadataCollectionName

      public void setMetadataCollectionName(String metadataCollectionName)
      Set up the optional metadata collection name.
      Parameters:
      metadataCollectionName - name
    • getRemoteConnection

      public Connection getRemoteConnection()
      Return the connection used to call the remote repository.
      Returns:
      connection
    • setRemoteConnection

      public void setRemoteConnection(Connection remoteConnection)
      Set up the connection used to call the remote repository.
      Parameters:
      remoteConnection - connection
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class Object
      Returns:
      list of properties and their values.