Package io.objectbox.annotation
Annotation 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 ElementsModifier and TypeOptional ElementDescriptionboolean
Use a no-arg constructor instead of an all properties constructor (generated).
-
Element Details
-
useNoArgConstructor
boolean useNoArgConstructorUse a no-arg constructor instead of an all properties constructor (generated). Note that is generally not recommended when using the ObjectBox Gradle plugin for Java classes.- Default:
- false
-