public class SAMembership
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
SAMembership.Type
Membership type values
|
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
SAMembership(SAMembership.Type membershipType,
java.lang.String membershipName)
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final long ID_NOT_ASSIGNED
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_PERSONSpublic 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 comparedpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic long getId()
IBM Security Identity Manager 6.0.0
© Copyright International Business Machines Corporation 2007, 2012. All rights reserved. US Government Users Restricited Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.