Class MemberRegistration
java.lang.Object
org.odpi.openmetadata.repositoryservices.connectors.stores.cohortregistrystore.properties.MemberRegistration
- All Implemented Interfaces:
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 Summary
ConstructorDescriptionDefault constructor initializes registration information to null.MemberRegistration
(MemberRegistration template) Copy/clone constructor copies registration information from the template. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Validate if the values stored match the object to compare.Return the unique identifier of the repository's metadata collection id.Return the metadata collection name.Return the name of the organization.Return the time that this repository registered with the cohort.Return the connection information for a connector that enables remote calls to the repository server.Return the display name for the server.Return the type of server.int
hashCode()
Hash code base on variable values.void
setMetadataCollectionId
(String metadataCollectionId) Set up the unique identifier of the repository's metadata collection id.void
setMetadataCollectionName
(String metadataCollectionName) Set up the metadata collection name.void
setOrganizationName
(String organizationName) Set up the name of the organization.void
setRegistrationTime
(Date registrationTime) Set up the time that this repository registered with the cohort.void
setRepositoryConnection
(Connection repositoryConnection) Set up the connection information for a connector that enables remote calls to the repository server.void
setServerName
(String serverName) Set up the display name for the server.void
setServerType
(String serverType) Set up the type of server.toString()
toString JSON-style
-
Constructor Details
-
MemberRegistration
public MemberRegistration()Default constructor initializes registration information to null. -
MemberRegistration
Copy/clone constructor copies registration information from the template.- Parameters:
template
- MemberRegistration properties to copy
-
-
Method Details
-
getMetadataCollectionId
Return the unique identifier of the repository's metadata collection id.- Returns:
- String metadata collection id
-
setMetadataCollectionId
Set up the unique identifier of the repository's metadata collection id.- Parameters:
metadataCollectionId
- String guid
-
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
Set up the metadata collection name. This overrides the default value of the server name.- Parameters:
metadataCollectionName
- string name
-
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
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
Return the type of server.- Returns:
- String server type
-
setServerType
Set up the type of server.- Parameters:
serverType
- String server type
-
getOrganizationName
Return the name of the organization.- Returns:
- String name of the organization
-
setOrganizationName
Set up the name of the organization.- Parameters:
organizationName
- String name of the organization
-
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
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
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
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
Validate if the values stored match the object to compare. -
hashCode
public int hashCode()Hash code base on variable values. -
toString
toString JSON-style
-