Class ObjectDescription
java.lang.Object
one.microstream.storage.restadapter.ObjectDescription
public class ObjectDescription extends Object
This class encapsulates the type definition and all field values retrieved
 for an object received from the ViewerPersistenceManager.
- 
Constructor SummaryConstructors Constructor Description ObjectDescription()
- 
Method SummaryModifier and Type Method Description longgetLength()longgetObjectId()Get the microstream object id for this objectPersistenceTypeDefinitiongetPersistenceTypeDefinition()ObjectgetPrimitiveInstance()Get the assigned primitive value instance or null if it is not availableObjectDescription[]getReferences()Object[]getValues()Long[]getVariableLength()booleanhasPrimitiveObjectInstance()Check if an primitive value instance is assigned to this objectvoidresolveReferences(long fixedOffset, long fixedLength, long variableOffset, long variableLength, EmbeddedStorageRestAdapter storageRestAdapter)voidsetLength(long variableSize)voidsetObjectId(long objectId)voidsetPersistenceTypeDefinition(PersistenceTypeDefinition persistenceTypeDefinition)voidsetPrimitiveInstance(Object primitiveInstance)voidsetReferences(ObjectDescription[] references)voidsetValues(Object[] values)voidsetVariableLength(Long[] objects)
- 
Constructor Details- 
ObjectDescriptionpublic ObjectDescription()
 
- 
- 
Method Details- 
getObjectIdpublic long getObjectId()Get the microstream object id for this object- Returns:
- object id as long
 
- 
setObjectIdpublic void setObjectId(long objectId)
- 
getValues
- 
setValues
- 
getLengthpublic long getLength()
- 
setLengthpublic void setLength(long variableSize)
- 
setVariableLength
- 
getVariableLength
- 
getReferences
- 
setReferences
- 
getPrimitiveInstanceGet the assigned primitive value instance or null if it is not available- Returns:
- Object
 
- 
setPrimitiveInstance
- 
getPersistenceTypeDefinition
- 
setPersistenceTypeDefinition
- 
hasPrimitiveObjectInstancepublic boolean hasPrimitiveObjectInstance()Check if an primitive value instance is assigned to this object- Returns:
- true if the object has a primitive value instance
 
- 
resolveReferencespublic void resolveReferences(long fixedOffset, long fixedLength, long variableOffset, long variableLength, EmbeddedStorageRestAdapter storageRestAdapter)
 
-