Package io.objectbox.annotation
Annotation Interface Convert
Supplies a
converter
to store custom Property types as a supported dbType()
.
See the Custom Types documentation for details.-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionClass<? extends PropertyConverter>
The converter class that ObjectBox should use.The Property type the Java field value is converted to/from.
-
Element Details
-
converter
Class<? extends PropertyConverter> converterThe converter class that ObjectBox should use. SeePropertyConverter
for implementation guidelines. -
dbType
Class dbTypeThe Property type the Java field value is converted to/from. See the Custom Types documentation for a list of supported types.
-