Enum Class AttributeSchema.UIType

java.lang.Object
java.lang.Enum<AttributeSchema.UIType>
com.sun.identity.sm.AttributeSchema.UIType
All Implemented Interfaces:
Serializable, Comparable<AttributeSchema.UIType>, java.lang.constant.Constable
Enclosing class:
AttributeSchema

public static enum AttributeSchema.UIType extends Enum<AttributeSchema.UIType>
The class UIType defines the UI types of schema attributes and provides static constants for these types. These types mainly will be used by the GUI to determine how to display the schema attributes. Currently defined schema attribute UI types are RADIO, LINK, BUTTON and NAME_VALUE_LIST
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The ADDREMOVELIST attribute type specifies that the multiple choice attribute should be displayed as add remove list widget.
    The BUTTON attribute type specifies that the attribute should be displayed as a button.
    The GLOBALMAP_LIST attribute type specifies that the attribute should be displayed as a global map list widget.
    The GLOBALSCRIPTSELECT attribute type specifies that the attribute should be displayed as drop down widget with only global scripts.
    The LINK attribute type specifies that the attribute should be displayed as a link.
    The MAP_LIST attribute type specifies that the attribute should be displayed as a map list widget.
    The NAME_VALUE_LIST attribute type specifies that the attribute should be displayed as a name value list widget.
    The ORDERED_LIST attribute type specifies that the attribute should be displayed as an ordered list widget.
    The RADIO attribute type specifies that the attribute should be displayed as radio button.
    The SCRIPTSELECT attribute type specifies that the attribute should be displayed as drop down widget.
    The TEXTAREA attribute type specifies that the attribute should be displayed as a text area.
    The UNORDERED_LIST attribute type specifies that the attribute should be displayed as an unordered list widget.
  • Method Summary

    Modifier and Type
    Method
    Description
    The method returns the string representation of the schema attribute UI type.
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • RADIO

      public static final AttributeSchema.UIType RADIO
      The RADIO attribute type specifies that the attribute should be displayed as radio button.
    • BUTTON

      public static final AttributeSchema.UIType BUTTON
      The BUTTON attribute type specifies that the attribute should be displayed as a button.
    • NAME_VALUE_LIST

      public static final AttributeSchema.UIType NAME_VALUE_LIST
      The NAME_VALUE_LIST attribute type specifies that the attribute should be displayed as a name value list widget.
    • UNORDEREDLIST

      public static final AttributeSchema.UIType UNORDEREDLIST
      The UNORDERED_LIST attribute type specifies that the attribute should be displayed as an unordered list widget.
    • ORDEREDLIST

      public static final AttributeSchema.UIType ORDEREDLIST
      The ORDERED_LIST attribute type specifies that the attribute should be displayed as an ordered list widget.
    • MAPLIST

      public static final AttributeSchema.UIType MAPLIST
      The MAP_LIST attribute type specifies that the attribute should be displayed as a map list widget.
    • GLOBALMAPLIST

      public static final AttributeSchema.UIType GLOBALMAPLIST
      The GLOBALMAP_LIST attribute type specifies that the attribute should be displayed as a global map list widget.
    • ADDREMOVELIST

      public static final AttributeSchema.UIType ADDREMOVELIST
      The ADDREMOVELIST attribute type specifies that the multiple choice attribute should be displayed as add remove list widget.
    • SCRIPTSELECT

      public static final AttributeSchema.UIType SCRIPTSELECT
      The SCRIPTSELECT attribute type specifies that the attribute should be displayed as drop down widget.
    • GLOBALSCRIPTSELECT

      public static final AttributeSchema.UIType GLOBALSCRIPTSELECT
      The GLOBALSCRIPTSELECT attribute type specifies that the attribute should be displayed as drop down widget with only global scripts.
    • TEXTAREA

      public static final AttributeSchema.UIType TEXTAREA
      The TEXTAREA attribute type specifies that the attribute should be displayed as a text area.
  • Method Details

    • values

      public static AttributeSchema.UIType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AttributeSchema.UIType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      The method returns the string representation of the schema attribute UI type.
      Overrides:
      toString in class Enum<AttributeSchema.UIType>
      Returns:
      String string representation of schema attribute UI type