public class JEnumField extends JSimpleField
Modifier and Type | Method and Description |
---|---|
Converter<B,A> |
getConverter(JTransaction jtx)
Get a
Converter that converts this field's value from what the core database returns
to what the Java application expects, or null if no conversion is needed. |
TypeToken<? extends Enum<?>> |
getTypeToken()
Get the type of this field.
|
<R> R |
visit(JFieldSwitch<R> target)
Apply visitor pattern.
|
getDeclaringAnnotation, getFieldType, getParentField, getSetter, getValue, isIndexed, setValue
getName, getPermazen, getStorageId, toString
public <R> R visit(JFieldSwitch<R> target)
JField
visit
in class JSimpleField
R
- visit return typetarget
- target to invoketarget
corresponding to this instance's typepublic TypeToken<? extends Enum<?>> getTypeToken()
JSimpleField
getTypeToken
in class JSimpleField
public Converter<B,A> getConverter(JTransaction jtx)
JField
Converter
that converts this field's value from what the core database returns
to what the Java application expects, or null if no conversion is needed.getConverter
in class JSimpleField
jtx
- transactionConverter
from core API to Java, or null if no conversion is requiredCopyright © 2022. All rights reserved.