Modifier and Type | Method and Description |
---|---|
String |
getKey() |
String |
getLabel() |
static EnumValue |
of(String key,
String label) |
static com.fasterxml.jackson.core.type.TypeReference<EnumValue> |
typeReference()
Creates a container which contains the full Java type information to deserialize this class from JSON.
|
String getLabel()
static EnumValue of(String key, String label)
key
- The key of the value used as a programmatic identifier, e.g. in facets & filters.label
- A descriptive label of the value.static com.fasterxml.jackson.core.type.TypeReference<EnumValue> typeReference()