Package com.db4o.internal.delete
Class DeleteContextImpl
- java.lang.Object
-
- com.db4o.internal.AbstractBufferContext
-
- com.db4o.internal.marshall.AbstractReadContext
-
- com.db4o.internal.marshall.ObjectHeaderContext
-
- com.db4o.internal.delete.DeleteContextImpl
-
- All Implemented Interfaces:
DeleteContext
,AspectVersionContext
,HandlerVersionContext
,InternalReadContext
,MarshallingInfo
,ObjectIdContext
,BufferContext
,Context
,ReadBuffer
,ReadContext
public class DeleteContextImpl extends ObjectHeaderContext implements DeleteContext, ObjectIdContext
-
-
Field Summary
-
Fields inherited from class com.db4o.internal.marshall.ObjectHeaderContext
_objectHeader
-
Fields inherited from class com.db4o.internal.marshall.AbstractReadContext
_activationDepth
-
-
Constructor Summary
Constructors Constructor Description DeleteContextImpl(DeleteContextImpl parentContext, ReflectClass fieldClass, Config4Field fieldConfig)
DeleteContextImpl(StatefulBuffer buffer, ObjectHeader objectHeader, ReflectClass fieldClass, Config4Field fieldConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
cascadeDelete()
int
cascadeDeleteDepth()
void
cascadeDeleteDepth(int depth)
void
defragmentRecommended()
void
delete(TypeHandler4 handler)
void
deleteObject()
int
objectId()
Slot
readSlot()
-
Methods inherited from class com.db4o.internal.marshall.ObjectHeaderContext
beginSlot, classMetadata, declaredAspectCount, declaredAspectCount, handlerVersion, headerAttributes, isNull, restoreState, saveState
-
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.delete.DeleteContext
isLegacyHandlerVersion
-
Methods inherited from interface com.db4o.internal.marshall.HandlerVersionContext
slotFormat
-
Methods inherited from interface com.db4o.internal.marshall.InternalReadContext
buffer, buffer, container, handlerVersion, notifyNullReferenceSkipped, offset, read, readAtCurrentSeekPosition, readIndirectedBuffer, seek
-
Methods inherited from interface com.db4o.internal.marshall.MarshallingInfo
buffer
-
Methods inherited from interface com.db4o.marshall.ReadBuffer
readBitMap, readByte, readBytes, readInt, readLong
-
Methods inherited from interface com.db4o.marshall.ReadContext
readObject, readObject
-
-
-
-
Constructor Detail
-
DeleteContextImpl
public DeleteContextImpl(StatefulBuffer buffer, ObjectHeader objectHeader, ReflectClass fieldClass, Config4Field fieldConfig)
-
DeleteContextImpl
public DeleteContextImpl(DeleteContextImpl parentContext, ReflectClass fieldClass, Config4Field fieldConfig)
-
-
Method Detail
-
cascadeDeleteDepth
public void cascadeDeleteDepth(int depth)
-
cascadeDeleteDepth
public int cascadeDeleteDepth()
- Specified by:
cascadeDeleteDepth
in interfaceDeleteContext
-
cascadeDelete
public boolean cascadeDelete()
- Specified by:
cascadeDelete
in interfaceDeleteContext
-
defragmentRecommended
public void defragmentRecommended()
- Specified by:
defragmentRecommended
in interfaceDeleteContext
-
readSlot
public Slot readSlot()
- Specified by:
readSlot
in interfaceDeleteContext
-
delete
public void delete(TypeHandler4 handler)
- Specified by:
delete
in interfaceDeleteContext
-
deleteObject
public void deleteObject()
- Specified by:
deleteObject
in interfaceDeleteContext
-
objectId
public int objectId()
- Specified by:
objectId
in interfaceDeleteContext
- Specified by:
objectId
in interfaceObjectIdContext
-
-