Annotation Interface Convert


@Retention(CLASS) @Target(FIELD) public @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 Elements
    Modifier and Type
    Required Element
    Description
    The converter class that ObjectBox should use.
    The Property type the Java field value is converted to/from.