|
db4o 7.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.db4o.typehandlers.VectorTypeHandler
public class VectorTypeHandler
TypeHandler for java.util.Vector for JDKs without the collection framework.
Constructor Summary | |
---|---|
VectorTypeHandler()
|
Method Summary | |
---|---|
void |
cascadeActivation(com.db4o.internal.activation.ActivationContext4 context)
will be called during activation if the handled object is already active |
void |
collectIDs(com.db4o.internal.marshall.QueryingReadContext context)
will be called during querying to ask for IDs of member objects of the handled object. |
void |
defragment(com.db4o.internal.DefragmentContext context)
gets called when an object gets defragmented. |
void |
delete(com.db4o.internal.delete.DeleteContext context)
gets called when an object gets deleted. |
com.db4o.foundation.PreparedComparison |
prepareComparison(Context context,
java.lang.Object obj)
|
java.lang.Object |
read(ReadContext context)
gets called when an object is read from the database. |
TypeHandler4 |
readCandidateHandler(com.db4o.internal.marshall.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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VectorTypeHandler()
Method Detail |
---|
public com.db4o.foundation.PreparedComparison prepareComparison(Context context, java.lang.Object obj)
prepareComparison
in interface com.db4o.internal.Comparable4
public void write(WriteContext context, java.lang.Object obj)
TypeHandler4
write
in interface TypeHandler4
obj
- the objectpublic java.lang.Object read(ReadContext context)
TypeHandler4
read
in interface TypeHandler4
public void delete(com.db4o.internal.delete.DeleteContext context) throws Db4oIOException
TypeHandler4
delete
in interface TypeHandler4
Db4oIOException
public void defragment(com.db4o.internal.DefragmentContext context)
TypeHandler4
defragment
in interface TypeHandler4
public final void cascadeActivation(com.db4o.internal.activation.ActivationContext4 context)
FirstClassHandler
cascadeActivation
in interface FirstClassHandler
public TypeHandler4 readCandidateHandler(com.db4o.internal.marshall.QueryingReadContext context)
FirstClassHandler
readCandidateHandler
in interface FirstClassHandler
public void collectIDs(com.db4o.internal.marshall.QueryingReadContext context)
FirstClassHandler
collectIDs
in interface FirstClassHandler
|
db4o 7.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |