public class ByteBufferList extends AbstractByteBufferVirtualObject implements ListCapableVirtualObject
buffer| Constructor and Description |
|---|
ByteBufferList(QueryContext reusable,
org.eclipse.emf.ecore.EClass eClass) |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.ecore.EClass |
eClass() |
void |
endList() |
int |
reserveSpaceForListReference() |
void |
setListItem(org.eclipse.emf.ecore.EStructuralFeature feature,
int index,
Object value) |
void |
setListItemReference(org.eclipse.emf.ecore.EStructuralFeature structuralFeature,
int index,
org.eclipse.emf.ecore.EClass referenceEClass,
Long referencedOid,
int bufferPosition) |
int |
size() |
void |
startList(org.eclipse.emf.ecore.EStructuralFeature feature) |
ByteBuffer |
write() |
ensureCapacity, writePrimitiveValuepublic ByteBufferList(QueryContext reusable, org.eclipse.emf.ecore.EClass eClass)
public void startList(org.eclipse.emf.ecore.EStructuralFeature feature)
startList in interface ListCapableVirtualObjectpublic void endList()
endList in interface ListCapableVirtualObjectpublic void setListItem(org.eclipse.emf.ecore.EStructuralFeature feature,
int index,
Object value)
throws BimserverDatabaseException
setListItem in interface ListCapableVirtualObjectBimserverDatabaseExceptionpublic int reserveSpaceForListReference()
throws BimserverDatabaseException
reserveSpaceForListReference in interface ListCapableVirtualObjectBimserverDatabaseExceptionpublic void setListItemReference(org.eclipse.emf.ecore.EStructuralFeature structuralFeature,
int index,
org.eclipse.emf.ecore.EClass referenceEClass,
Long referencedOid,
int bufferPosition)
throws BimserverDatabaseException
setListItemReference in interface ListCapableVirtualObjectBimserverDatabaseExceptionpublic org.eclipse.emf.ecore.EClass eClass()
public ByteBuffer write()
public int size()
Copyright © 2019 OpenSource BIM. All rights reserved.