Package com.chrt.api.types
Enum DirectoryEntrySortByEnum.Value
- java.lang.Object
-
- java.lang.Enum<DirectoryEntrySortByEnum.Value>
-
- com.chrt.api.types.DirectoryEntrySortByEnum.Value
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DirectoryEntrySortByEnum.Value>
- Enclosing class:
- DirectoryEntrySortByEnum
public static enum DirectoryEntrySortByEnum.Value extends java.lang.Enum<DirectoryEntrySortByEnum.Value>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPANY_NAMECONTACT_FIRST_NAMECONTACT_LAST_NAMEUNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DirectoryEntrySortByEnum.ValuevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DirectoryEntrySortByEnum.Value[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMPANY_NAME
public static final DirectoryEntrySortByEnum.Value COMPANY_NAME
-
CONTACT_FIRST_NAME
public static final DirectoryEntrySortByEnum.Value CONTACT_FIRST_NAME
-
CONTACT_LAST_NAME
public static final DirectoryEntrySortByEnum.Value CONTACT_LAST_NAME
-
UNKNOWN
public static final DirectoryEntrySortByEnum.Value UNKNOWN
-
-
Method Detail
-
values
public static DirectoryEntrySortByEnum.Value[] 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 (DirectoryEntrySortByEnum.Value c : DirectoryEntrySortByEnum.Value.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DirectoryEntrySortByEnum.Value valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-