Package com.sun.identity.sm
Enum AttributeSchema.UIType
- java.lang.Object
-
- java.lang.Enum<AttributeSchema.UIType>
-
- com.sun.identity.sm.AttributeSchema.UIType
-
- All Implemented Interfaces:
Serializable
,Comparable<AttributeSchema.UIType>
- Enclosing class:
- AttributeSchema
public static enum AttributeSchema.UIType extends Enum<AttributeSchema.UIType>
The classUIType
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 areRADIO
,LINK
,BUTTON
andNAME_VALUE_LIST
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDREMOVELIST
TheADDREMOVELIST
attribute type specifies that the multiple choice attribute should be display as add remove list widget.BUTTON
TheBUTTON
attribute type specifies that the attribute should be display as a button.GLOBALMAPLIST
TheGLOBALMAP_LIST
attribute type specifies that the attribute should be display as a global map list widget.GLOBALSCRIPTSELECT
TheGLOBALSCRIPTSELECT
attribute type specifies that the attribute should be display as drop down widget with only global scripts.LINK
TheLINK
attribute type specifies that the attribute should be display as a link.MAPLIST
TheMAP_LIST
attribute type specifies that the attribute should be display as an map list widget.NAME_VALUE_LIST
TheNAME_VALUE_LIST
attribute type specifies that the attribute should be display as a name value list widget.ORDEREDLIST
TheORDERED_LIST
attribute type specifies that the attribute should be display as an ordered list widget.RADIO
TheRADIO
attribute type specifies that the attribute should be display as radio button.SCRIPTSELECT
TheSCRIPTSELECT
attribute type specifies that the attribute should be display as drop down widget.UNORDEREDLIST
TheUNORDERED_LIST
attribute type specifies that the attribute should be display as an unordered list widget.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
The method returns the string representation of the schema attribute UI type.static AttributeSchema.UIType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AttributeSchema.UIType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RADIO
public static final AttributeSchema.UIType RADIO
TheRADIO
attribute type specifies that the attribute should be display as radio button.
-
LINK
public static final AttributeSchema.UIType LINK
TheLINK
attribute type specifies that the attribute should be display as a link.
-
BUTTON
public static final AttributeSchema.UIType BUTTON
TheBUTTON
attribute type specifies that the attribute should be display as a button.
-
NAME_VALUE_LIST
public static final AttributeSchema.UIType NAME_VALUE_LIST
TheNAME_VALUE_LIST
attribute type specifies that the attribute should be display as a name value list widget.
-
UNORDEREDLIST
public static final AttributeSchema.UIType UNORDEREDLIST
TheUNORDERED_LIST
attribute type specifies that the attribute should be display as an unordered list widget.
-
ORDEREDLIST
public static final AttributeSchema.UIType ORDEREDLIST
TheORDERED_LIST
attribute type specifies that the attribute should be display as an ordered list widget.
-
MAPLIST
public static final AttributeSchema.UIType MAPLIST
TheMAP_LIST
attribute type specifies that the attribute should be display as an map list widget.
-
GLOBALMAPLIST
public static final AttributeSchema.UIType GLOBALMAPLIST
TheGLOBALMAP_LIST
attribute type specifies that the attribute should be display as a global map list widget.
-
ADDREMOVELIST
public static final AttributeSchema.UIType ADDREMOVELIST
TheADDREMOVELIST
attribute type specifies that the multiple choice attribute should be display as add remove list widget.
-
SCRIPTSELECT
public static final AttributeSchema.UIType SCRIPTSELECT
TheSCRIPTSELECT
attribute type specifies that the attribute should be display as drop down widget.
-
GLOBALSCRIPTSELECT
public static final AttributeSchema.UIType GLOBALSCRIPTSELECT
TheGLOBALSCRIPTSELECT
attribute type specifies that the attribute should be display as drop down widget with only global scripts.
-
-
Method Detail
-
values
public static AttributeSchema.UIType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AttributeSchema.UIType c : AttributeSchema.UIType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AttributeSchema.UIType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String 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
-
-