Enum JsonValueKeyTypeEnum
- java.lang.Object
-
- java.lang.Enum<JsonValueKeyTypeEnum>
-
- gov.nist.secauto.metaschema.core.model.JsonValueKeyTypeEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<JsonValueKeyTypeEnum>
public enum JsonValueKeyTypeEnum extends Enum<JsonValueKeyTypeEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FLAG
A flag is idenfied as the value key, who's value will be used.NONE
No value key is defined, and a type specific value key will be used.STATIC_LABEL
A static value key string is defined which will be used.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JsonValueKeyTypeEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static JsonValueKeyTypeEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final JsonValueKeyTypeEnum NONE
No value key is defined, and a type specific value key will be used.
-
STATIC_LABEL
public static final JsonValueKeyTypeEnum STATIC_LABEL
A static value key string is defined which will be used.
-
FLAG
public static final JsonValueKeyTypeEnum FLAG
A flag is idenfied as the value key, who's value will be used.
-
-
Method Detail
-
values
public static JsonValueKeyTypeEnum[] 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 (JsonValueKeyTypeEnum c : JsonValueKeyTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JsonValueKeyTypeEnum 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
-
-