com.ibm.itim.dataservices.model.domain

Class RoleAssignmentObject

  • All Implemented Interfaces:
    com.ibm.itim.util.xml.objectstream.Importable, java.io.Serializable


    public class RoleAssignmentObject
    extends DirectoryEntry
    implements com.ibm.itim.util.xml.objectstream.Importable, java.io.Serializable
    Value Object class that holds the attribute information of a role assignment data in the data model. This class holds the assignment data that are associated with the defined role and assigned role. The defined role is the role that holds a list of assignment attributes. The assigned role is the role to which the person is assigned.
    Since:
    6.0
    See Also:
    (Set), com.ibm.ibm.dataservices.model.domain.RoleEntity#getAssignmentAttributes(), DirectoryEntry, Serialized Form
    • Constructor Detail

      • RoleAssignmentObject

        public RoleAssignmentObject(DistinguishedName assignRoleDN,
                                    DistinguishedName defineRoleDN,
                                    AttributeValues attributes)
        Default constructor.
        Parameters:
        assignRoleDN - The Distinguished Name of the role to which the person is assigned.
        defineRoleDN - The Distinguished Name of the role for which the attributes are defined.
        attributes - AttributeValues where keys are attribute names (String) and values are AttributeValue instances.
      • RoleAssignmentObject

        public RoleAssignmentObject(long assignmentID,
                                    DistinguishedName personDN,
                                    DistinguishedName assignRoleDN,
                                    DistinguishedName defineRoleDN)
        Default constructor.
        Parameters:
        personDN - The Distinguished Name of the person to which the role is assigned.
        assignRoleDN - The Distinguished Name of the role to which the person is assigned.
        defineRoleDN - The Distinguished Name of the role for which the attributes are defined.
        attributes - AttributeValues where keys are attribute names (String) and values are AttributeValue instances.
      • RoleAssignmentObject

        public RoleAssignmentObject(DistinguishedName defineRoleDN,
                                    AttributeValues attributes)
        constructor.
        Parameters:
        defineRoleDN - The Distinguished Name of the role for which the attributes are defined.
        attributes - AttributeValues where keys are attribute names (String) and values are AttributeValue instances.
      • RoleAssignmentObject

        public RoleAssignmentObject(DistinguishedName assignRoleDN,
                                    DistinguishedName defineRoleDN)
        constructor.
        Parameters:
        assignRoleDN - The Distinguished Name of the role to which the person is assigned.
        defineRoleDN - The Distinguished Name of the role for which the attributes are defined.
      • RoleAssignmentObject

        public RoleAssignmentObject(RoleAssignmentObject raObject)
        Copy Constructor Reference copy is used for Java object except for define role DN and assign role DN.
    • Method Detail

      • getDefineRoleDN

        public DistinguishedName getDefineRoleDN()
        Returns the DN of the defined role that is associated with the assignment data.
        Returns:
        DistinguishedName represent role's DN.
      • getAssignRoleDN

        public DistinguishedName getAssignRoleDN()
        Returns the DN of the assigned role that is associated with the assignment data.
        Returns:
        DistinguishedName represent role's DN.
      • getPersonDN

        public DistinguishedName getPersonDN()
        Returns the DN of the person that is associated with the role assignment data.
        Returns:
        DistinguishedName represent person's DN.
      • getAssignmentID

        public long getAssignmentID()