public class Membership
extends java.lang.Object
implements java.io.Serializable
ProvisioningPolicy,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static long |
TYPE_ALL_PERSONS
Membership type which represents all people
|
static long |
TYPE_ORGANIZATIONAL_ROLE
Membership type which represents an organization role
|
static long |
TYPE_OTHER_PERSONS
Membership type which represents other people, or exceptional cases
|
| Constructor and Description |
|---|
Membership(long membershipScope,
java.lang.String membershipName)
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMembershipName()
Returns the value of the membershipName property.
|
long |
getMembershipType()
Returns the value of the membershipType property.
|
void |
setMembershipName(java.lang.String name)
Sets the value of the membershipName property.
|
void |
setMembershipType(long type)
Sets the value of the membershipType property.
|
java.lang.String |
toString()
Method returns a string representation of this object.
|
public static final long TYPE_ALL_PERSONS
public static final long TYPE_ORGANIZATIONAL_ROLE
public static final long TYPE_OTHER_PERSONS
public Membership(long membershipScope,
java.lang.String membershipName)
membershipScope - The membership type which could be one of
the three public 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 or
TYPE_OTHER_PERSONS.public long getMembershipType()
public void setMembershipType(long type)
type - 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 java.lang.String toString()
toString in class java.lang.Object