@Retention(value=CLASS)
@Target(value=FIELD)
public @interface Convert
converter to store custom Property types as a supported dbType().
See the Custom Types documentation for details.| Modifier and Type | Required Element and Description |
|---|---|
java.lang.Class<? extends PropertyConverter> |
converter
The converter class that ObjectBox should use.
|
java.lang.Class |
dbType
The Property type the Java field value is converted to/from.
|
public abstract java.lang.Class<? extends PropertyConverter> converter
PropertyConverter for implementation guidelines.public abstract java.lang.Class dbType