Package io.objectbox
Class ModelBuilder.EntityBuilder
java.lang.Object
io.objectbox.ModelBuilder.EntityBuilder
- Enclosing class:
ModelBuilder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidprivate voidflags(int flags) id(int id, long uid) lastPropertyId(int lastPropertyId, long lastPropertyUid)
-
Field Details
-
Constructor Details
-
EntityBuilder
EntityBuilder(String name)
-
-
Method Details
-
id
-
lastPropertyId
-
flags
-
checkNotFinished
private void checkNotFinished() -
property
-
property
public ModelBuilder.PropertyBuilder property(String name, @Nullable String targetEntityName, int type) -
property
public ModelBuilder.PropertyBuilder property(String name, @Nullable String targetEntityName, @Nullable String virtualTarget, int type) -
checkFinishProperty
void checkFinishProperty() -
relation
public ModelBuilder.EntityBuilder relation(String name, int relationId, long relationUid, int targetEntityId, long targetEntityUid) -
entityDone
-