com.ibm.itim.common

Class AssignmentAttributeEditValue

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable


    public class AssignmentAttributeEditValue
    extends AttributeValue
    See Also:
    Serialized Form
    • Constructor Detail

      • AssignmentAttributeEditValue

        public AssignmentAttributeEditValue()
        Default constructor. No name will be used and there will be no values.
      • AssignmentAttributeEditValue

        public AssignmentAttributeEditValue(DistinguishedName definedRole,
                                            java.lang.String definedRoleName)
        Constructor with role on which attribute is defined. No name will be used and there will be no values.
      • AssignmentAttributeEditValue

        public AssignmentAttributeEditValue(java.lang.String definedRoleName)
        Constructor with role on which attribute is defined. No name will be used and there will be no values.
    • Method Detail

      • setPrevValue

        public void setPrevValue(java.util.Collection previousValues)
        Replaces the current values with a new collection of Objects.
        Parameters:
        values - Collection of Objects to be the new values.
      • getPrevValues

        public java.util.Collection getPrevValues()
        Returns the values of the attribute in a collection.
        Returns:
        Collection of values.
      • getSinglePrevValue

        public java.lang.Object getSinglePrevValue()
        Returns the single value of an attribute as an Object.
        Returns:
        Object representing the value. If more than one value is present, the first one will be returned.
        Throws:
        java.lang.ArrayIndexOutOfBoundsException - Thrown if no values are present.
      • getdefinedRoleName

        public java.lang.String getdefinedRoleName()
        Returns the role name on which the attribute is defined.
        Returns:
        String role name on which the attribute is defined..
      • setdefinedRoleName

        public void setdefinedRoleName(java.lang.String definedRoleName)
        Set the role name on which the attribute is defined.
        Parameters:
        definedRoleName - String role name on which the attribute is defined.
      • getDefinedRole

        public DistinguishedName getDefinedRole()
        Returns the DN of the role on which the attribute is defined.
        Returns:
        DistinguishedName the DN of the role on which the attribute is defined..
      • setDefinedRole

        public void setDefinedRole(DistinguishedName definedRole)
        Set the role DN on which the attribute is defined.
        Parameters:
        definedRole - DistinguishedName the DN of the role on which the attribute is defined.
      • getAssignedRole

        public DistinguishedName getAssignedRole()
        Returns the DN of the role for which the attribute is assigned.
        Returns:
        DistinguishedName the DN of the role for which the attribute is assigned..
      • setAssignedRole

        public void setAssignedRole(DistinguishedName assignedRole)
        Set the role DN for which the attribute is assigned.
        Parameters:
        assignedRole - DistinguishedName the DN of the role for which the attribute is assigned.