com.ibm.itim.apps.policy
Class Membership

java.lang.Object
  extended by com.ibm.itim.apps.policy.Membership
All Implemented Interfaces:
java.io.Serializable

public class Membership
extends java.lang.Object
implements java.io.Serializable

This class represents a member of the policy. The member could be a Role or could be all people.

See Also:
ProvisioningPolicy, Serialized Form

Field Summary
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 Summary
Membership(long membershipScope, java.lang.String membershipName)
          The default constructor.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE_ALL_PERSONS

public static final long TYPE_ALL_PERSONS
Membership type which represents all people

See Also:
Constant Field Values

TYPE_ORGANIZATIONAL_ROLE

public static final long TYPE_ORGANIZATIONAL_ROLE
Membership type which represents an organization role

See Also:
Constant Field Values

TYPE_OTHER_PERSONS

public static final long TYPE_OTHER_PERSONS
Membership type which represents other people, or exceptional cases

See Also:
Constant Field Values
Constructor Detail

Membership

public Membership(long membershipScope,
                  java.lang.String membershipName)
The default constructor.

Parameters:
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.
Method Detail

getMembershipType

public long getMembershipType()
Returns the value of the membershipType property.

Returns:
the current value of the membershipType property.

setMembershipType

public void setMembershipType(long type)
Sets the value of the membershipType property.

Parameters:
type - the new value of the membershipType property

setMembershipName

public void setMembershipName(java.lang.String name)
Sets the value of the membershipName property.

Parameters:
name - the new value of the membershipName property

getMembershipName

public java.lang.String getMembershipName()
Returns the value of the membershipName property.

Returns:
the current value of the membershipName property.

toString

public java.lang.String toString()
Method returns a string representation of this object.

Overrides:
toString in class java.lang.Object
Returns:
String representing a textual description of this object.


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.