Class Syntax


  • @SupportedAll
    @Deprecated
    public final class Syntax
    extends Object
    Deprecated.
    As of OpenSSO Express 8.0, use com.sun.identity.entitlement instead as Entitlement has replaced Policy.
    Provides an enum like support for the syntax of values such as ANY, NONE, LIST, CONSTANT, SINGLE_CHOICE, MULTIPLE_CHOICE In other words, provides access to a set of finite values and enforces new values can not be created by users
    • Field Detail

      • ANY

        public static final Syntax ANY
        Deprecated.
        value is a free form text, would be typically shown in as editable text field
      • LIST

        public static final Syntax LIST
        Deprecated.
        value is a free form multi list text field
      • ANY_SEARCHABLE

        public static final Syntax ANY_SEARCHABLE
        Deprecated.
        value is a free form text, could also search from a large set of values
      • NONE

        public static final Syntax NONE
        Deprecated.
        no value is allowed
      • CONSTANT

        public static final Syntax CONSTANT
        Deprecated.
        value is a constant string, would be typically shown as non editable text
      • SINGLE_CHOICE

        public static final Syntax SINGLE_CHOICE
        Deprecated.
        value is a single choice from a list
      • MULTIPLE_CHOICE

        public static final Syntax MULTIPLE_CHOICE
        Deprecated.
        value is multiple choice from list
    • Method Detail

      • toString

        public String toString()
        Deprecated.
        Returns the string representation of this object.
        Overrides:
        toString in class Object
        Returns:
        string representation of this Syntax
      • equals

        public boolean equals​(Object arg)
        Deprecated.
        Checks whether the argument object is equal to this Syntax
        Overrides:
        equals in class Object
        Parameters:
        arg - Syntax object for comparison.
        Returns:
        true if the argument object is equal to this Syntax, else false
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object