Package io.objectbox.annotation
Annotation Type Entity
-
@Retention(CLASS) @Target(TYPE) public @interface Entity
Marks a class as an ObjectBox Entity. Allows to obtain a Box for this Entity from BoxStore to persist Objects of this class.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
useNoArgConstructor
Use a no-arg constructor instead of an all properties constructor (generated).
-