Package com.sun.identity.sm
Enum Class AttributeSchema.UIType
- All Implemented Interfaces:
Serializable,Comparable<AttributeSchema.UIType>,java.lang.constant.Constable
- Enclosing class:
- AttributeSchema
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 ConstantsEnum ConstantDescriptionTheADDREMOVELISTattribute type specifies that the multiple choice attribute should be displayed as add remove list widget.TheBUTTONattribute type specifies that the attribute should be displayed as a button.TheGLOBALMAP_LISTattribute type specifies that the attribute should be displayed as a global map list widget.TheGLOBALSCRIPTSELECTattribute type specifies that the attribute should be displayed as drop down widget with only global scripts.TheLINKattribute type specifies that the attribute should be displayed as a link.TheMAP_LISTattribute type specifies that the attribute should be displayed as a map list widget.TheNAME_VALUE_LISTattribute type specifies that the attribute should be displayed as a name value list widget.TheORDERED_LISTattribute type specifies that the attribute should be displayed as an ordered list widget.TheRADIOattribute type specifies that the attribute should be displayed as radio button.TheSCRIPTSELECTattribute type specifies that the attribute should be displayed as drop down widget.TheTEXTAREAattribute type specifies that the attribute should be displayed as a text area.TheUNORDERED_LISTattribute type specifies that the attribute should be displayed as an unordered list widget. -
Method Summary
Modifier and TypeMethodDescriptiontoString()The method returns the string representation of the schema attribute UI type.static AttributeSchema.UITypeReturns the enum constant of this class with the specified name.static AttributeSchema.UIType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RADIO
TheRADIOattribute type specifies that the attribute should be displayed as radio button. -
LINK
TheLINKattribute type specifies that the attribute should be displayed as a link. -
BUTTON
TheBUTTONattribute type specifies that the attribute should be displayed as a button. -
NAME_VALUE_LIST
TheNAME_VALUE_LISTattribute type specifies that the attribute should be displayed as a name value list widget. -
UNORDEREDLIST
TheUNORDERED_LISTattribute type specifies that the attribute should be displayed as an unordered list widget. -
ORDEREDLIST
TheORDERED_LISTattribute type specifies that the attribute should be displayed as an ordered list widget. -
MAPLIST
TheMAP_LISTattribute type specifies that the attribute should be displayed as a map list widget. -
GLOBALMAPLIST
TheGLOBALMAP_LISTattribute type specifies that the attribute should be displayed as a global map list widget. -
ADDREMOVELIST
TheADDREMOVELISTattribute type specifies that the multiple choice attribute should be displayed as add remove list widget. -
SCRIPTSELECT
TheSCRIPTSELECTattribute type specifies that the attribute should be displayed as drop down widget. -
GLOBALSCRIPTSELECT
TheGLOBALSCRIPTSELECTattribute type specifies that the attribute should be displayed as drop down widget with only global scripts. -
TEXTAREA
TheTEXTAREAattribute type specifies that the attribute should be displayed as a text area.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
toString
The method returns the string representation of the schema attribute UI type.- Overrides:
toStringin classEnum<AttributeSchema.UIType>- Returns:
- String string representation of schema attribute UI type
-