Class CohortMembership
java.lang.Object
org.odpi.openmetadata.repositoryservices.connectors.stores.cohortregistrystore.properties.CohortMembership
- All Implemented Interfaces:
Serializable
CohortMembership describes the structure of the cohort registry store. It contains details
of the local registration and a list of remote member registrations.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Validate if the values stored match the object to compare.Return the description of the local server's registration with the cohort.Return details of each of the remote repositories registered with this cohort.int
hashCode()
Hash code base on variable values.void
setLocalRegistration
(MemberRegistration localRegistration) Set up the description of the local server's registration with the cohort.void
setRemoteRegistrations
(List<MemberRegistration> remoteRegistrations) Set up details of each of the remote repositories registered with this cohort.toString()
toString JSON-style
-
Constructor Details
-
CohortMembership
public CohortMembership()Default constructor
-
-
Method Details
-
getLocalRegistration
Return the description of the local server's registration with the cohort.- Returns:
- local registration object
-
setLocalRegistration
Set up the description of the local server's registration with the cohort.- Parameters:
localRegistration
- local registration object
-
getRemoteRegistrations
Return details of each of the remote repositories registered with this cohort.- Returns:
- details about the remote members of the cohort
-
setRemoteRegistrations
Set up details of each of the remote repositories registered with this cohort.- Parameters:
remoteRegistrations
- details about the remote members of the cohort
-
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
-