public class UnmodifiableListTypeHandler extends java.lang.Object implements InstantiatingTypeHandler, QueryableTypeHandler, CascadingTypeHandler
| Constructor and Description |
|---|
UnmodifiableListTypeHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(ReferenceActivationContext context)
gets called when an object is to be activated.
|
void |
cascadeActivation(ActivationContext context)
will be called during activation if the handled
object is already active
|
void |
collectIDs(QueryingReadContext context)
will be called during querying to ask for IDs of member
objects of the handled object.
|
void |
defragment(DefragmentContext context)
gets called when an object gets defragmented.
|
void |
delete(DeleteContext context)
gets called when an object gets deleted.
|
boolean |
descendsIntoMembers() |
java.lang.Object |
instantiate(ReadContext context) |
TypeHandler4 |
readCandidateHandler(QueryingReadContext context)
will be called during querying to ask for the handler
to be used to collect children of the handled object
|
void |
write(WriteContext context,
java.lang.Object obj)
gets called when an object is to be written to the database.
|
void |
writeInstantiation(WriteContext context,
java.lang.Object obj)
gets called when an object is to be written to the database.
|
public boolean descendsIntoMembers()
descendsIntoMembers in interface QueryableTypeHandlerpublic void writeInstantiation(WriteContext context, java.lang.Object obj)
InstantiatingTypeHandlerReferenceTypeHandler#activate(WriteContext)writeInstantiation in interface InstantiatingTypeHandlerobj - the objectpublic java.lang.Object instantiate(ReadContext context)
instantiate in interface InstantiatingTypeHandlerpublic void activate(ReferenceActivationContext context)
ReferenceTypeHandleractivate in interface ReferenceTypeHandlerpublic void write(WriteContext context, java.lang.Object obj)
TypeHandler4write in interface TypeHandler4obj - the objectpublic void defragment(DefragmentContext context)
TypeHandler4defragment in interface TypeHandler4public void delete(DeleteContext context) throws Db4oIOException
TypeHandler4delete in interface TypeHandler4Db4oIOExceptionpublic void cascadeActivation(ActivationContext context)
CascadingTypeHandlercascadeActivation in interface CascadingTypeHandlerpublic TypeHandler4 readCandidateHandler(QueryingReadContext context)
CascadingTypeHandlerreadCandidateHandler in interface CascadingTypeHandlerpublic void collectIDs(QueryingReadContext context)
CascadingTypeHandlercollectIDs in interface CascadingTypeHandler