Class RoleConstraint

    • Method Detail

      • getId

        public String getId()
        Return the object id.
        Returns:
      • setId

        public void setId​(String id)
        Set the id.
        Parameters:
        id -
      • genId

        public void genId()
        Generate a unique, random id, set as the value of id.
      • setType

        public void setType​(RoleConstraint.RCType type)
        Set the constraint type.
        Parameters:
        type -
      • getValue

        public String getValue()
        Get the value of a particular constraint. For example, locale=North, has a value of 'North'.
        Returns:
      • setValue

        public void setValue​(String value)
        Set the objects value.
        Parameters:
        value -
      • getKey

        public String getKey()
        The key associated with a particular constraint. For example, locale=North, key is 'locale'.
        Returns:
      • setKey

        public void setKey​(String key)
        Set the key on a constraint.
        Parameters:
        key -
      • getRawData

        public String getRawData​(UserRole uRole)
        This is the actual value of data stored in the LDAP attribute ftRC. It concatenates the object's values, separated by a delimiter.
        Parameters:
        uRole -
        Returns:
      • getTypeName

        public String getTypeName()
        Return the type of OU in string format.
        Returns:
        String that represents static or dynamic relations.
      • setTypeName

        public void setTypeName​(String typeName)
        Method accepts a String variable that maps to its parent's set type.
        Parameters:
        typeName - String value represents perm or user ou data sets.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object