|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sas.hls.security.membership.MembershipDescriptor
com.sas.hls.security.membership.Membership
public class Membership
A client representation of the membership of some membership context.
Constructor Summary | |
---|---|
Membership()
Zero-arg constructor. |
|
Membership(ObjectIdentity context)
MembershipDescriptor constructor given a MembershipContext. |
|
Membership(ObjectIdentity context,
Principal... members)
Membership constructor given the context it is for and the list of Principals to be in the membership. |
|
Membership(ObjectIdentity context,
Set<Principal> members)
Membership constructor given the context it is for and the list of Principals to be in the membership. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Indicate whether some other object is "equal to" this one. |
Set<Principal> |
getMembers()
Get the members of this membership. |
int |
hashCode()
Return a hash code value for the object. |
void |
setMembers(Set<Principal> members)
Set the members of this membership. |
String |
toString()
Return a string representation of the object. |
Methods inherited from class com.sas.hls.security.membership.MembershipDescriptor |
---|
getContext, getRevision, setContext, setRevision |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Membership()
public Membership(ObjectIdentity context)
context
- The context for which to create a MembershipDescriptor.public Membership(ObjectIdentity context, Principal... members)
context
- The context for which to create a MembershipDescriptor.members
- The comma-delimited list of Principals to include in this membership.public Membership(ObjectIdentity context, Set<Principal> members)
context
- The context for which to create a MembershipDescriptor.members
- The set of Principals to include in this membership.Method Detail |
---|
public Set<Principal> getMembers()
public void setMembers(Set<Principal> members)
members
- the set of principals that are the members of this membershippublic int hashCode()
MembershipDescriptor
hashCode
in class MembershipDescriptor
Object.hashCode()
public boolean equals(Object obj)
MembershipDescriptor
equals
in class MembershipDescriptor
Object.equals(java.lang.Object)
public String toString()
MembershipDescriptor
toString
in class MembershipDescriptor
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |