com.ibm.itim.dataservices.model.domain

Class RoleAssignmentAttribute

  • java.lang.Object
    • com.ibm.itim.dataservices.model.domain.RoleAssignmentAttribute
  • All Implemented Interfaces:
    java.io.Serializable


    public class RoleAssignmentAttribute
    extends java.lang.Object
    implements java.io.Serializable
    This class represents the role assignment attribute. This class has the following information about the role assignment attribute:
  • - The name of assignment attribute.
  • - The distinguished name and the name of the role where this assignment attribute is defined.
Since:
6.0
See Also:
Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      RoleAssignmentAttribute(java.lang.String name)
      Constructs this object with the assignment attribute name.
      RoleAssignmentAttribute(java.lang.String name, DistinguishedName roleDN)
      Constructs this object with the assignment attribute name and the DN of the role.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object obj)
      Checks whether the obj is equal to this RoleAssignmentAttribute.
      java.lang.String getName()
      Gets the assignment attribute name.
      DistinguishedName getRoleDN()
      Gets the DistinguishedName of the role where the assignment attribute is defined.
      java.lang.String getRoleName()
      Gets the role name.
      int hashCode()
      Returns the hash code.
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RoleAssignmentAttribute

        public RoleAssignmentAttribute(java.lang.String name)
        Constructs this object with the assignment attribute name.
        Parameters:
        name - The assignment attribute name. The name cannot be null or an empty string.
        Throws:
        java.lang.IllegalArgumentException - Thrown if the name is null or an empty string.
      • RoleAssignmentAttribute

        public RoleAssignmentAttribute(java.lang.String name,
                                       DistinguishedName roleDN)
        Constructs this object with the assignment attribute name and the DN of the role.
        Parameters:
        name - The assignment attribute name. The name cannot be null or an empty string.
        roleDN - The DistinguishedName of the role where this attribute is defined. The roleDN can be null.
        Throws:
        java.lang.IllegalArgumentException - Thrown if the name is null or an empty string.
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets the assignment attribute name.
        Returns:
        The assignment attribute name.
      • getRoleDN

        public DistinguishedName getRoleDN()
        Gets the DistinguishedName of the role where the assignment attribute is defined.
        Returns:
        The DistinguishedName of the role where the assignment attribute is defined
      • getRoleName

        public java.lang.String getRoleName()
        Gets the role name.
        Returns:
        The role name.
      • equals

        public boolean equals(java.lang.Object obj)
        Checks whether the obj is equal to this RoleAssignmentAttribute. NOTE: The attribute name comparison is case insensitive.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - The object that being compared to this RoleAssignmentAttribute.
        Returns:
        Returns true if the obj is an instance of RoleAssignmentAttribute, and has same assignment attribute name and role DN. Returns false otherwise.
      • hashCode

        public int hashCode()
        Returns the hash code. This method overrides the hashCode method in java.lang.Object class. For more detail, see API doc for java.lang.Object.hashCode() method.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        The hash code integer for this class.