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
 
Constructor Summary
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, getProfileName, getRawAttributes, getTenantDN, 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
 
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.

SYSTEM_ROLE_ATTR_DESCRIPTION

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

SYSTEM_ROLE_ATTR_CAT

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

ENDUSER_CATEGORY

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

SUPERVISOR_CATEGORY

public static final int SUPERVISOR_CATEGORY
Constant for the supervisor category.

SYSTEMADMIN_CATEGORY

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

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.