Package adalid.core.enums
Enum ListStyle
- java.lang.Object
-
- java.lang.Enum<ListStyle>
-
- adalid.core.enums.ListStyle
-
- All Implemented Interfaces:
Serializable,Comparable<ListStyle>
public enum ListStyle extends Enum<ListStyle>
- Author:
- Jorge Campins
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHARACTER_KEYCHARACTER_KEY_AND_NAMENAMENAME_AND_CHARACTER_KEYPRIMARY_KEY_AND_CHARACTER_KEYPRIMARY_KEY_AND_NAMEUNSPECIFIED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ListStylevalueOf(String name)Returns the enum constant of this type with the specified name.static ListStyle[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNSPECIFIED
public static final ListStyle UNSPECIFIED
-
CHARACTER_KEY
public static final ListStyle CHARACTER_KEY
-
NAME
public static final ListStyle NAME
-
CHARACTER_KEY_AND_NAME
public static final ListStyle CHARACTER_KEY_AND_NAME
-
NAME_AND_CHARACTER_KEY
public static final ListStyle NAME_AND_CHARACTER_KEY
-
PRIMARY_KEY_AND_CHARACTER_KEY
public static final ListStyle PRIMARY_KEY_AND_CHARACTER_KEY
-
PRIMARY_KEY_AND_NAME
public static final ListStyle PRIMARY_KEY_AND_NAME
-
-
Method Detail
-
values
public static ListStyle[] 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 (ListStyle c : ListStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ListStyle 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
-
-