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