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

java.lang.Object
  |
  +--com.ibm.itim.dataservices.model.DirectoryObjectEntity
        |
        +--com.ibm.itim.dataservices.model.system.SystemRoleEntity
All Implemented Interfaces:
java.io.Serializable

public class SystemRoleEntity
extends DirectoryObjectEntity

Represents a system role (group) in the data model.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.itim.dataservices.model.DirectoryObjectEntity
ORGANIZATION, PARENT
 
Constructor Summary
SystemRoleEntity(SystemRole sysRole)
          Constructs with a value object.
 
Method Summary
 java.util.Collection getMembers()
          Returns all members of the system role.
 OrganizationEntity getOrganization()
          Returns the organization of the current object.
 
Methods inherited from class com.ibm.itim.dataservices.model.DirectoryObjectEntity
equals, getDirectoryObject, getDistinguishedName, getEntity, getLifecycle, getParent, getParentDN, getProfile, getRelationship, getSupportedRelationships, hashCode, isSupportedRelationship, remove, remove, setLifecycle, toString, update, update
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SystemRoleEntity

public SystemRoleEntity(SystemRole sysRole)
Constructs with a value object.

Parameters:
sysRole - SystemRole object holding the attributes of the system role.
Method Detail

getMembers

public java.util.Collection getMembers()
                                throws ModelCommunicationException,
                                       ModelIntegrityException
Returns all members of the system role.

Returns:
Collection of SystemUsers that are members of the system role.
Throws:
ModelCommunicationException - Thrown if unable to communicate with the data store.
ModelIntegrityException - Thrown if a problem exists with the consistency of the data model preventing the evaluation of the relationship.

getOrganization

public OrganizationEntity getOrganization()
                                   throws ModelCommunicationException,
                                          ModelIntegrityException
Returns the organization of the current object.

Returns:
OrganizationEntity representing the object's organization.
Throws:
ModelCommunicationException - Thrown if unable to communicate with the data store.
ModelIntegrityException - Thrown if unable to locate the related organization. This may be due to a data integrity problem.


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.