com.ibm.itim.dataservices.model.system
Class SystemRole

java.lang.Object
  |
  +--com.ibm.itim.dataservices.model.DirectoryEntry
        |
        +--com.ibm.itim.dataservices.model.DirectoryObject
              |
              +--com.ibm.itim.dataservices.model.system.SystemRole
All Implemented Interfaces:
com.ibm.itim.util.xml.objectstream.Importable, ProtectedObject, java.io.Serializable

public class SystemRole
extends DirectoryObject

Value Object class that holds the attribute information of a system role (group) in the data model.

See Also:
SystemRoleEntity, Serialized Form

Field Summary
static int ENDUSER_CATEGORY
          Constant for the end user category.
static int SUPERVISOR_CATEGORY
          Constant for the supervisor category.
static java.lang.String SYSTEM_ROLE_ATTR_CAT
          String constant for the category attribute name.
static java.lang.String SYSTEM_ROLE_ATTR_DESCRIPTION
          String constant for the description attribute name.
static java.lang.String SYSTEM_ROLE_ATTR_NAME
          String constant for the naming attribute name.
static int SYSTEMADMIN_CATEGORY
          Constant for the system administrator category.
 
Fields inherited from class com.ibm.itim.dataservices.model.DirectoryObject
ATTR_ACCESS_RIGHT, ATTR_LIFECYCLE_ENABLE
 
Constructor Summary
SystemRole()
          Default empty constructor
SystemRole(AttributeValues attributes)
          Constructs object with attribute information.
 
Method Summary
 int getCategory()
          Returns the system role category.
 java.lang.String getDescription()
          Returns the description of the system role.
 java.lang.String getName()
          Returns the name of the system role.
 void setCategory(int category)
          Changes the system role category.
 void setDescription(java.lang.String description)
          Changes the description of the system role.
 void setName(java.lang.String name)
          Changes the name of the system role.
 
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryObject
addAttribute, getAccessRights, getAttribute, getAttributes, getAuthorizationOwners, getMapAttributeNames, getMappedAttributes, getNameAttribute, getOldMappedAttributes, getProfileName, getRawAttributes, getTenantDN, isLifecycleDefined, removeAttribute, 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

SYSTEM_ROLE_ATTR_NAME

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

See Also:
Constant Field Values

SYSTEM_ROLE_ATTR_DESCRIPTION

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

See Also:
Constant Field Values

SYSTEM_ROLE_ATTR_CAT

public static final java.lang.String SYSTEM_ROLE_ATTR_CAT
String constant for the category attribute name.

See Also:
Constant Field Values

ENDUSER_CATEGORY

public static final int ENDUSER_CATEGORY
Constant for the end user category.

See Also:
Constant Field Values

SUPERVISOR_CATEGORY

public static final int SUPERVISOR_CATEGORY
Constant for the supervisor category.

See Also:
Constant Field Values

SYSTEMADMIN_CATEGORY

public static final int SYSTEMADMIN_CATEGORY
Constant for the system administrator category.

See Also:
Constant Field Values
Constructor Detail

SystemRole

public SystemRole()
Default empty constructor


SystemRole

public SystemRole(AttributeValues attributes)
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 SystemRoleSearch object for achieving that.

Parameters:
attributes - AttributeValues holding the attributes of the system role.
Method Detail

getName

public java.lang.String getName()
Returns the name of the system role.

Overrides:
getName in class DirectoryObject
Returns:
Name of the system role (String).

setName

public void setName(java.lang.String name)
Changes the name of the system role.

Parameters:
name - New name of the system role.

getDescription

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

Returns:
Description of the system role (String).

setDescription

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

Parameters:
description - New String description of the system role.

getCategory

public int getCategory()
Returns the system role category.

Returns:
Enumeration of the category, ENDUSER_CATEGORY, SUPERVISOR_CATEGORY,SYSTEMADMIN_CATEGORY.

setCategory

public void setCategory(int category)
Changes the system role category.

Parameters:
category - Enumeration of the category, ENDUSER_CATEGORY, SUPERVISOR_CATEGORY,SYSTEMADMIN_CATEGORY.


IBM Tivoli Identity Manager 4.6
© Copyright International Business Machines Corporation 2005. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.