|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.itim.dataservices.model.pim.SAMembership
public class SAMembership
This class represents the people memberships of the policy. The members could be defined as one of the following:
| Nested Class Summary | |
|---|---|
static class |
SAMembership.Type
Membership type values |
| Field Summary | |
|---|---|
static long |
ID_NOT_ASSIGNED
Constant indicating the membership ID is not assigned yet, which means the membership does not exsit in the repository. |
| Constructor Summary | |
|---|---|
SAMembership(SAMembership.Type membershipType,
java.lang.String membershipName)
The default constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(SAMembership pm)
Compares the Membership object passed in with itself. |
long |
getId()
Return the entitlement unique identifier. |
java.lang.String |
getMembershipName()
Returns the value of the membershipName property. |
SAMembership.Type |
getMembershipType()
Returns the value of the membershipType property. |
int |
hashCode()
Returns a hash value that can be used in hash tables. |
void |
setMembershipName(java.lang.String name)
Sets the value of the membershipName property. |
void |
setMembershipType(SAMembership.Type type)
Sets the value of the membershipType property. |
java.lang.String |
toString()
Returns a string representation of this object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long ID_NOT_ASSIGNED
| Constructor Detail |
|---|
public SAMembership(SAMembership.Type membershipType,
java.lang.String membershipName)
membershipType - The membership type which could be one of
the 2 type constants defined in this class.membershipName - Stores the role DN if the type is TYPE_ORGANIZATIONAL_ROLE;
Stores the wildcard character "*" if the type is TYPE_ALL_PERSONS| Method Detail |
|---|
public SAMembership.Type getMembershipType()
public void setMembershipType(SAMembership.Type type)
types - the new value of the membershipType propertypublic void setMembershipName(java.lang.String name)
name - the new value of the membershipName propertypublic java.lang.String getMembershipName()
public boolean equals(SAMembership pm)
pm - The Membership object to be compared
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic long getId()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||