java.lang.Object
org.odpi.openmetadata.repositoryservices.connectors.stores.cohortregistrystore.properties.MemberRegistration
All Implemented Interfaces:
Serializable

public class MemberRegistration extends Object implements Serializable
MemberRegistration is a POJO for storing the information about a metadata repository that is a member of the open metadata repository cohort. This information is saved to disk by the OMRSCohortRegistryStore.
See Also:
  • Constructor Details

    • MemberRegistration

      public MemberRegistration()
      Default constructor initializes registration information to null.
    • MemberRegistration

      public MemberRegistration(MemberRegistration template)
      Copy/clone constructor copies registration information from the template.
      Parameters:
      template - MemberRegistration properties to copy
  • Method Details

    • getMetadataCollectionId

      public String getMetadataCollectionId()
      Return the unique identifier of the repository's metadata collection id.
      Returns:
      String metadata collection id
    • setMetadataCollectionId

      public void setMetadataCollectionId(String metadataCollectionId)
      Set up the unique identifier of the repository's metadata collection id.
      Parameters:
      metadataCollectionId - String guid
    • getMetadataCollectionName

      public String getMetadataCollectionName()
      Return the metadata collection name. The server name is returned if the metadata collection name has not been explicitly provided.
      Returns:
      string name
    • setMetadataCollectionName

      public void setMetadataCollectionName(String metadataCollectionName)
      Set up the metadata collection name. This overrides the default value of the server name.
      Parameters:
      metadataCollectionName - string name
    • getServerName

      public String getServerName()
      Return the display name for the server. It is not guaranteed to be unique just confusing for administrators if it is different. The display name can change over time with no loss of data integrity.
      Returns:
      String display name
    • setServerName

      public void setServerName(String serverName)
      Set up the display name for the server. It is not guaranteed to be unique just confusing for administrators if it is different. The display name can change over time with no loss of data integrity.
      Parameters:
      serverName - String display name
    • getServerType

      public String getServerType()
      Return the type of server.
      Returns:
      String server type
    • setServerType

      public void setServerType(String serverType)
      Set up the type of server.
      Parameters:
      serverType - String server type
    • getOrganizationName

      public String getOrganizationName()
      Return the name of the organization.
      Returns:
      String name of the organization
    • setOrganizationName

      public void setOrganizationName(String organizationName)
      Set up the name of the organization.
      Parameters:
      organizationName - String name of the organization
    • getRegistrationTime

      public Date getRegistrationTime()
      Return the time that this repository registered with the cohort. (Or null if it has not yet registered.)
      Returns:
      Date object representing the registration time stamp
    • setRegistrationTime

      public void setRegistrationTime(Date registrationTime)
      Set up the time that this repository registered with the cohort. (Or null if it has not yet registered.)
      Parameters:
      registrationTime - Date object representing the registration time stamp
    • getRepositoryConnection

      public Connection getRepositoryConnection()
      Return the connection information for a connector that enables remote calls to the repository server.
      Returns:
      Connection object containing the properties of the connection
    • setRepositoryConnection

      public void setRepositoryConnection(Connection repositoryConnection)
      Set up the connection information for a connector that enables remote calls to the repository server.
      Parameters:
      repositoryConnection - Connection object containing the properties of the connection
    • equals

      public boolean equals(Object objectToCompare)
      Validate if the values stored match the object to compare.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - test object
      Returns:
      boolean result
    • hashCode

      public int hashCode()
      Hash code base on variable values.
      Overrides:
      hashCode in class Object
      Returns:
      int
    • toString

      public String toString()
      toString JSON-style
      Overrides:
      toString in class Object
      Returns:
      string containing variable values