Package com.sun.identity.sm
Enum AttributeSchema.ListOrder
- java.lang.Object
-
- java.lang.Enum<AttributeSchema.ListOrder>
-
- com.sun.identity.sm.AttributeSchema.ListOrder
-
- All Implemented Interfaces:
Serializable
,Comparable<AttributeSchema.ListOrder>
- Enclosing class:
- AttributeSchema
public static enum AttributeSchema.ListOrder extends Enum<AttributeSchema.ListOrder>
This enumListOrder
defines the list orders of schema attributes and provides constants for these list orders. These types will mainly be used by the GUI to determine how to display the schema attributes.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AttributeSchema.ListOrder
valueOf(String name)
Returns the enum constant of this type with the specified name.static AttributeSchema.ListOrder[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NATURAL
public static final AttributeSchema.ListOrder NATURAL
Orders lists naturally.
-
INSERTION
public static final AttributeSchema.ListOrder INSERTION
Orders lists in the order they are entered in LDAP.
-
-
Method Detail
-
values
public static AttributeSchema.ListOrder[] 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.ListOrder c : AttributeSchema.ListOrder.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.ListOrder 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
-
-