com.ibm.itim.dataservices.model.domain
Class Role

java.lang.Object
  extended by com.ibm.itim.dataservices.model.DirectoryEntry
      extended by com.ibm.itim.dataservices.model.DirectoryObject
          extended by com.ibm.itim.dataservices.model.domain.Role
All Implemented Interfaces:
ProtectedObject, com.ibm.itim.util.Sortable, com.ibm.itim.util.xml.objectstream.Importable, java.io.Serializable
Direct Known Subclasses:
DynamicRole

public class Role
extends DirectoryObject

Value Object class that holds the attribute information of a role in the data model. This class describes the attributes and behaviors associated with any role (static or dynamic). A static role is sufficiently represented by this class. A dynamic role is represented by the sub-class DynamicRole.

See Also:
RoleEntity, DynamicRole, Serialized Form

Field Summary
static java.lang.String HELPDESK_ROLE
           
static java.lang.String PROFILE_NAME
          The profile name for Role
static java.lang.String ROLE_ATTR_DESCRIPTION
          String constant for the description attribute name.
static java.lang.String ROLE_ATTR_NAME
          String constant for the naming attribute name.
static java.lang.String SERVICEOWNER_ROLE
           
static java.lang.String SUPERVISOR_ROLE
           
static java.lang.String SYSTEMADMIN_ROLE
           
 
Fields inherited from class com.ibm.itim.dataservices.model.DirectoryObject
ATTR_ACCESS_RIGHT, ATTR_LIFECYCLE_ENABLE, DESCRIPTION, NAME
 
Fields inherited from interface com.ibm.itim.util.Sortable
ATTR_NAME
 
Constructor Summary
Role()
          Default empty constructor
Role(AttributeValues attrs)
          Constructs object with attribute information.
Role(DirectoryObject dirObj)
          Copy constructor for directory object
 
Method Summary
 java.lang.String getDescription()
          Returns the description of the role.
 void setDescription(java.lang.String description)
          Changes the description of the role.
 
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryObject
addAttribute, getAccessRights, getAttribute, getAttributes, getAuthorizationOwners, getMapAttributeNames, getMappedAttributes, getName, getNameAttribute, getOldMappedAttributes, getProfileName, getRawAttributes, getSortValue, getTenantDN, isLifecycleDefined, removeAttribute, removeAttribute, setAccessRights, setAttribute, setAttributes, setAuthorizationOwners, setProfileName, setTenantDN, toString
 
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryEntry
clearChange, clearChanges, getChanges, getDistinguishedName, getLastModified, getObjectClasses, getOldAttributes, setDistinguishedName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ROLE_ATTR_NAME

public static java.lang.String ROLE_ATTR_NAME
String constant for the naming attribute name.


ROLE_ATTR_DESCRIPTION

public static java.lang.String ROLE_ATTR_DESCRIPTION
String constant for the description attribute name.


SYSTEMADMIN_ROLE

public static final java.lang.String SYSTEMADMIN_ROLE
See Also:
Constant Field Values

SUPERVISOR_ROLE

public static final java.lang.String SUPERVISOR_ROLE
See Also:
Constant Field Values

HELPDESK_ROLE

public static final java.lang.String HELPDESK_ROLE
See Also:
Constant Field Values

SERVICEOWNER_ROLE

public static final java.lang.String SERVICEOWNER_ROLE
See Also:
Constant Field Values

PROFILE_NAME

public static java.lang.String PROFILE_NAME
The profile name for Role

Constructor Detail

Role

public Role()
Default empty constructor


Role

public Role(AttributeValues attrs)
Constructs object with attribute information. Warning: the purpose of this constructor is to provide clients with the ability to create value objects for creation in the data store. Do not use this constructor to create value objects that represent existing entities. See the RoleSearch object for achieving that.

Parameters:
attrs - AttributeValues holding the attributes of the role.

Role

public Role(DirectoryObject dirObj)
Copy constructor for directory object

Method Detail

getDescription

public java.lang.String getDescription()
Returns the description of the role.

Returns:
Description of the role (String).

setDescription

public void setDescription(java.lang.String description)
Changes the description of the role.

Parameters:
description - New String description of the role.


IBM Tivoli Identity Manager 5.0
© Copyright International Business Machines Corporation 2007. All rightsreserved. US Government Users Restricited RightsUse, duplication or disclosure restricted by GSA ADP ScheduleContract with IBM Corp.