objectbox.g
library
Classes
Backlink
Backlink annotation specifies a link in a reverse direction of another
relation.
Box <T >
A Box instance gives you access to objects of a particular type.
You get Box instances via Store.box() or Box(Store) .
CacheEntity_
CacheEntity
entity fields to define ObjectBox queries.
Condition <EntityT >
A Query condition base class.
Entity
Entity annotation is used on a class to let ObjectBox know it should store
it - making the class a "persistable Entity".
Id
Annotation Id can be used to specify an entity ID property if it's named
anything else then "id" (case insensitive).
Index
Specifies that the property should be indexed.
Order
Groups query order flags.
Property
Property annotation enables you to explicitly configure some details about
how a field is stored in the database.
PropertyQuery <T >
Property query base.
Query <T >
A repeatable Query returning the latest matching Objects.
QueryBuilder <T >
Query builder allows creating reusable queries.
Store
Represents an ObjectBox database and works together with Box to allow
getting and putting.
Sync
ObjectBox Sync makes data available and
synchronized across devices, online and offline.
SyncChange
Sync incoming data event.
SyncClient
Sync client is used to connect to an ObjectBox sync server.
SyncCredentials
Credentials used to authenticate a sync client against a server.
ToMany <EntityT >
Manages a to-many relation, an unidirectional link from a "source" entity to
multiple objects of a "target" entity.
ToOne <EntityT >
Manages a to-one relation, an unidirectional link from a "source" entity to
a "target" entity. The target object is referenced by its ID, which is
persisted in the source object.
Transient
Transient annotation marks fields that should not be stored in the database.
Unique
Unique annotation forces that the value of a property is unique among all
objects stored for the given entity.
Version
Wrapper for a semantic version information.
Functions
getObjectBoxModel ()
→ ModelDefinition
ObjectBox model definition, pass it to Store - Store(getObjectBoxModel())