public class EnumField extends SimpleField<EnumValue>
String
identifiers.
Two instances of this class are considered compatible only when their ordered lists of identifiers are identical.
NAME_PATTERN
Modifier and Type | Method and Description |
---|---|
EnumFieldType |
getFieldType()
Get the
EnumFieldType associated with this instance. |
String |
toString() |
<R> R |
visit(FieldSwitch<R> target)
Apply visitor pattern.
|
getValue, hasDefaultValue, isIndexed, remapObjectId, remapsObjectId, setValue
getTypeToken
getName, getSchema, getStorageId
public EnumFieldType getFieldType()
EnumFieldType
associated with this instance.getFieldType
in class SimpleField<EnumValue>
public <R> R visit(FieldSwitch<R> target)
Field
visit
in class SimpleField<EnumValue>
R
- visitor return typetarget
- target to invoketarget
corresponding to this instance's typepublic String toString()
toString
in class SimpleField<EnumValue>
Copyright © 2022. All rights reserved.