CA Identity Manager
Java SDK r12.5 SP 8

 

com.netegrity.llsdk6.imsapi.metadata
Class AttributeRight

java.lang.Object
  extended by com.netegrity.llsdk6.imsapi.metadata.AttributeRight
All Implemented Interfaces:
java.io.Serializable

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

Contains a specified directory attribute and its associated permission.

AttributeRight objects can be contained in an AttributeRightsCollection object and passed into provider methods. This allows a provider to retrieve a managed object containing the specified attributes and their associated permissions.

Providers let you retrieve managed objects such as users, groups, and organizations. To access a provider, use ProviderAccessor.

AttributeRight supports the typical get... and set... methods for both the attribute name and the PermissionType associated with the object.

See AttributeRightsCollection for an example of adding attribute right objects to a collection.

Since:
IdentityMinder 6.0
See Also:
Serialized Form

Constructor Summary
AttributeRight(java.lang.String attr, PermissionType perm)
           
 
Method Summary
 java.lang.String getAttribute()
          Retrieves the attribute name in this object.
 PermissionType getPermission()
          Returns the permission assigned to the attribute in this object.
 void setAttribute(java.lang.String attr)
          Sets the attribute name for this object.
 void setPermission(PermissionType perm)
          Changes the permission type for the attribute in this object.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeRight

public AttributeRight(java.lang.String attr,
                      PermissionType perm)
Method Detail

getAttribute

public java.lang.String getAttribute()
Retrieves the attribute name in this object.

Returns:
The attribute name in the object.

setAttribute

public void setAttribute(java.lang.String attr)
Sets the attribute name for this object.

Parameters:
attr - The attribute name for the object.

getPermission

public PermissionType getPermission()
Returns the permission assigned to the attribute in this object.

Returns:
The permission type assigned to the attribute.

setPermission

public void setPermission(PermissionType perm)
Changes the permission type for the attribute in this object.

Parameters:
perm - The new permission type for the attribute.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

CA Identity Manager
Java SDK r12.5 SP 8

06/13/2011

© 2011 CA Technologies, Inc. All rights reserved.