public class CohortMembership extends Object implements Serializable
| Constructor and Description |
|---|
CohortMembership()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Validate if the values stored match the object to compare.
|
MemberRegistration |
getLocalRegistration()
Return the description of the local server's registration with the cohort.
|
List<MemberRegistration> |
getRemoteRegistrations()
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.
|
String |
toString()
toString JSON-style
|
public MemberRegistration getLocalRegistration()
public void setLocalRegistration(MemberRegistration localRegistration)
localRegistration - local registration objectpublic List<MemberRegistration> getRemoteRegistrations()
public void setRemoteRegistrations(List<MemberRegistration> remoteRegistrations)
remoteRegistrations - details about the remote members of the cohortpublic boolean equals(Object objectToCompare)
public int hashCode()
Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.