com.ibm.itim.dataservices.model.domain
Class Role
java.lang.Object
|
+--com.ibm.itim.dataservices.model.DirectoryEntry
|
+--com.ibm.itim.dataservices.model.DirectoryObject
|
+--com.ibm.itim.dataservices.model.domain.Role
- All Implemented Interfaces:
- com.ibm.itim.util.xml.objectstream.Importable, ProtectedObject, 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.
- See Also:
RoleEntity
, Serialized Form
Field Summary |
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. |
Method Summary |
java.lang.String |
getDescription()
Returns the description of the role. |
java.lang.String |
getName()
Returns the logical name 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, getNameAttribute, getProfileName, getRawAttributes, getTenantDN, removeAttribute, removeAttribute, setAccessRights, setAttribute, setAttributes, setAuthorizationOwners, setProfileName, setTenantDN, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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.
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:
attributes
- AttributeValues holding the attributes of the role.
getName
public java.lang.String getName()
- Returns the logical name of the role.
- Overrides:
getName
in class DirectoryObject
- Returns:
- String representing logical name of the role.
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.