Package io.objectbox.model
Class ModelEntity
java.lang.Object
io.objectbox.flatbuffers.Table
io.objectbox.model.ModelEntity
-
Nested Class Summary
Nested Classes -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription__assign(int _i, ByteBuffer _bb) void__init(int _i, ByteBuffer _bb) static voidaddFlags(FlatBufferBuilder builder, long flags) static voidaddId(FlatBufferBuilder builder, int idOffset) static voidaddLastPropertyId(FlatBufferBuilder builder, int lastPropertyIdOffset) static voidaddName(FlatBufferBuilder builder, int nameOffset) static voidaddNameSecondary(FlatBufferBuilder builder, int nameSecondaryOffset) static voidaddProperties(FlatBufferBuilder builder, int propertiesOffset) static voidaddRelations(FlatBufferBuilder builder, int relationsOffset) static intcreatePropertiesVector(FlatBufferBuilder builder, int[] data) static intcreateRelationsVector(FlatBufferBuilder builder, int[] data) static intendModelEntity(FlatBufferBuilder builder) longflags()Can be language specific, e.g.static ModelEntitystatic ModelEntitygetRootAsModelEntity(ByteBuffer _bb, ModelEntity obj) id()lastPropertyId(IdUid obj) name()Secondary name ignored by core; e.g.properties(int j) properties(ModelProperty obj, int j) intrelations(int j) relations(ModelRelation obj, int j) intstatic voidstartModelEntity(FlatBufferBuilder builder) static voidstartPropertiesVector(FlatBufferBuilder builder, int numElems) static voidstartRelationsVector(FlatBufferBuilder builder, int numElems) static voidMethods inherited from class io.objectbox.flatbuffers.Table
__has_identifier, __indirect, __indirect, __offset, __offset, __reset, __reset, __string, __string, __union, __union, __vector, __vector_as_bytebuffer, __vector_in_bytebuffer, __vector_len, compareStrings, compareStrings, getByteBuffer, keysCompare, sortTables
-
Constructor Details
-
ModelEntity
public ModelEntity()
-
-
Method Details
-
ValidateVersion
public static void ValidateVersion() -
getRootAsModelEntity
-
getRootAsModelEntity
-
__init
-
__assign
-
id
-
id
-
name
-
nameAsByteBuffer
-
nameInByteBuffer
-
properties
-
properties
-
propertiesLength
public int propertiesLength() -
propertiesVector
-
propertiesVector
-
lastPropertyId
-
lastPropertyId
-
relations
-
relations
-
relationsLength
public int relationsLength() -
relationsVector
-
relationsVector
-
flags
public long flags()Can be language specific, e.g. if no-args constructor should be used -
nameSecondary
Secondary name ignored by core; e.g. may reference a binding specific name (e.g. Java class) -
nameSecondaryAsByteBuffer
-
nameSecondaryInByteBuffer
-
startModelEntity
-
addId
-
addName
-
addProperties
-
createPropertiesVector
-
startPropertiesVector
-
addLastPropertyId
-
addRelations
-
createRelationsVector
-
startRelationsVector
-
addFlags
-
addNameSecondary
-
endModelEntity
-