Package com.db4o.internal.marshall
Class ObjectHeaderContext
- java.lang.Object
-
- com.db4o.internal.AbstractBufferContext
-
- com.db4o.internal.marshall.AbstractReadContext
-
- com.db4o.internal.marshall.ObjectHeaderContext
-
- All Implemented Interfaces:
AspectVersionContext,HandlerVersionContext,InternalReadContext,MarshallingInfo,BufferContext,Context,ReadBuffer,ReadContext
- Direct Known Subclasses:
CollectIdContext,DeleteContextImpl,ObjectIdContextImpl,ObjectReferenceContext
public class ObjectHeaderContext extends AbstractReadContext implements MarshallingInfo, HandlerVersionContext
-
-
Field Summary
Fields Modifier and Type Field Description protected ObjectHeader_objectHeader-
Fields inherited from class com.db4o.internal.marshall.AbstractReadContext
_activationDepth
-
-
Constructor Summary
Constructors Constructor Description ObjectHeaderContext(Transaction transaction, ReadBuffer buffer, ObjectHeader objectHeader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeginSlot()ClassMetadataclassMetadata()intdeclaredAspectCount()voiddeclaredAspectCount(int count)inthandlerVersion()ObjectHeaderAttributesheaderAttributes()booleanisNull(int fieldIndex)voidrestoreState(ContextState state)ContextStatesaveState()-
Methods inherited from class com.db4o.internal.marshall.AbstractReadContext
activationDepth, activationDepth, lastReferenceReadWasReallyNull, notifyNullReferenceSkipped, peekPersisted, read, readAtCurrentSeekPosition, readIndirectedBuffer, readObject, readObject
-
Methods inherited from class com.db4o.internal.AbstractBufferContext
buffer, buffer, container, isLegacyHandlerVersion, objectContainer, offset, readBitMap, readByte, readBytes, readInt, readLong, seek, slotFormat, transaction
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.db4o.marshall.Context
objectContainer, transaction
-
Methods inherited from interface com.db4o.internal.marshall.HandlerVersionContext
slotFormat
-
Methods inherited from interface com.db4o.internal.marshall.InternalReadContext
buffer, buffer, container, offset, seek
-
Methods inherited from interface com.db4o.internal.marshall.MarshallingInfo
buffer
-
Methods inherited from interface com.db4o.marshall.ReadBuffer
readBitMap, readByte, readBytes, readInt, readLong
-
-
-
-
Field Detail
-
_objectHeader
protected ObjectHeader _objectHeader
-
-
Constructor Detail
-
ObjectHeaderContext
public ObjectHeaderContext(Transaction transaction, ReadBuffer buffer, ObjectHeader objectHeader)
-
-
Method Detail
-
headerAttributes
public final ObjectHeaderAttributes headerAttributes()
-
isNull
public final boolean isNull(int fieldIndex)
- Specified by:
isNullin interfaceMarshallingInfo
-
handlerVersion
public int handlerVersion()
- Specified by:
handlerVersionin interfaceHandlerVersionContext- Specified by:
handlerVersionin interfaceInternalReadContext- Specified by:
handlerVersionin classAbstractBufferContext
-
beginSlot
public void beginSlot()
- Specified by:
beginSlotin interfaceMarshallingInfo
-
saveState
public ContextState saveState()
-
restoreState
public void restoreState(ContextState state)
-
classMetadata
public ClassMetadata classMetadata()
- Specified by:
classMetadatain interfaceMarshallingInfo
-
declaredAspectCount
public int declaredAspectCount()
- Specified by:
declaredAspectCountin interfaceAspectVersionContext
-
declaredAspectCount
public void declaredAspectCount(int count)
- Specified by:
declaredAspectCountin interfaceAspectVersionContext
-
-