public class JSetField extends JCollectionField
JClass
.Modifier and Type | Method and Description |
---|---|
io.permazen.NavigableSetConverter<?,?> |
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. |
JSetField |
getDeclaringAnnotation()
Get the
Annotation that declared this field. |
NavigableSet<?> |
getValue(JObject jobj)
Get the Java value of this field in the given Java model object.
|
<R> R |
visit(JFieldSwitch<R> target)
Apply visitor pattern.
|
getElementField, getSubField, getSubFields, getTypeToken
getName, getPermazen, getStorageId, toString
public JSetField getDeclaringAnnotation()
JField
Annotation
that declared this field.
If this field was auto-generated from an abstract
method with no annotation, a non-null Annotation
is still returned; it will have all default values.
getDeclaringAnnotation
in class JField
public NavigableSet<?> getValue(JObject jobj)
JField
getValue
in class JCollectionField
jobj
- object containing this fieldjobj
public <R> R visit(JFieldSwitch<R> target)
JField
public io.permazen.NavigableSetConverter<?,?> 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 JField
jtx
- transactionConverter
from core API to Java, or null if no conversion is requiredCopyright © 2022. All rights reserved.