public class Membership extends MembershipDescriptor
Constructor and Description |
---|
Membership(ObjectIdentity context,
long revision,
Set<Principal> members)
It is not intended or recommended that the consumer of this API construct these objects.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Set<Principal> |
getMembers()
Gets the members of the membership.
|
long |
getRevision()
Gets the internal revision number of the membership.
|
int |
hashCode() |
void |
setMembers(Set<Principal> members)
Sets the members of the membership.
|
String |
toString() |
getContext
getId, getTypeId
public Membership(ObjectIdentity context, long revision, Set<Principal> members)
context
- the context identity with which the membership is associated.revision
- the internal revision number of the membership.members
- the current members of the membership.public long getRevision()
public Set<Principal> getMembers()
public void setMembers(Set<Principal> members)
members
- the members of the membership.public int hashCode()
hashCode
in class MembershipDescriptor
public boolean equals(Object obj)
equals
in class MembershipDescriptor
public String toString()
toString
in class MembershipDescriptor
<i>Copyright (c) 2020, SAS Institute Inc., Cary, NC, USA</i>