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 ConstantDescriptionTheADDREMOVELIST
attribute type specifies that the multiple choice attribute should be displayed as add remove list widget.TheBUTTON
attribute type specifies that the attribute should be displayed as a button.TheGLOBALMAP_LIST
attribute type specifies that the attribute should be displayed as a global map list widget.TheGLOBALSCRIPTSELECT
attribute type specifies that the attribute should be displayed as drop down widget with only global scripts.TheLINK
attribute type specifies that the attribute should be displayed as a link.TheMAP_LIST
attribute type specifies that the attribute should be displayed as a map list widget.TheNAME_VALUE_LIST
attribute type specifies that the attribute should be displayed as a name value list widget.TheORDERED_LIST
attribute type specifies that the attribute should be displayed as an ordered list widget.TheRADIO
attribute type specifies that the attribute should be displayed as radio button.TheSCRIPTSELECT
attribute type specifies that the attribute should be displayed as drop down widget.TheTEXTAREA
attribute type specifies that the attribute should be displayed as a text area.TheUNORDERED_LIST
attribute 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.UIType
Returns 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
TheRADIO
attribute type specifies that the attribute should be displayed as radio button. -
LINK
TheLINK
attribute type specifies that the attribute should be displayed as a link. -
BUTTON
TheBUTTON
attribute type specifies that the attribute should be displayed as a button. -
NAME_VALUE_LIST
TheNAME_VALUE_LIST
attribute type specifies that the attribute should be displayed as a name value list widget. -
UNORDEREDLIST
TheUNORDERED_LIST
attribute type specifies that the attribute should be displayed as an unordered list widget. -
ORDEREDLIST
TheORDERED_LIST
attribute type specifies that the attribute should be displayed as an ordered list widget. -
MAPLIST
TheMAP_LIST
attribute type specifies that the attribute should be displayed as a map list widget. -
GLOBALMAPLIST
TheGLOBALMAP_LIST
attribute type specifies that the attribute should be displayed as a global map list widget. -
ADDREMOVELIST
TheADDREMOVELIST
attribute type specifies that the multiple choice attribute should be displayed as add remove list widget. -
SCRIPTSELECT
TheSCRIPTSELECT
attribute type specifies that the attribute should be displayed as drop down widget. -
GLOBALSCRIPTSELECT
TheGLOBALSCRIPTSELECT
attribute type specifies that the attribute should be displayed as drop down widget with only global scripts. -
TEXTAREA
TheTEXTAREA
attribute 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:
toString
in classEnum<AttributeSchema.UIType>
- Returns:
- String string representation of schema attribute UI type
-