|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sleepycat.bind.tuple.TupleBase
com.sleepycat.bind.tuple.TupleBinding
uk.ac.ic.doc.automed.util.persist.AbstractObjectBinding
public abstract class AbstractObjectBinding
AbstractTupleBinding.java
Provides more developer-friendly methods than those defined in the TupleBinding
parent class
| Constructor Summary | |
|---|---|
AbstractObjectBinding()
Creates a new instance of AbstractTupleBinding |
|
| Method Summary | |
|---|---|
abstract java.lang.Object |
entryToObject(com.sleepycat.bind.tuple.TupleInput input)
Constructs a key or data object from a TupleInput entry. |
abstract PersistentKey |
getKey(java.lang.Object object)
Return a PersistentKey object from the value object |
abstract void |
objectToEntry(java.lang.Object object,
com.sleepycat.bind.tuple.TupleOutput output)
Converts a key or data object to a tuple entry. |
| Methods inherited from class com.sleepycat.bind.tuple.TupleBinding |
|---|
entryToObject, getPrimitiveBinding, objectToEntry |
| Methods inherited from class com.sleepycat.bind.tuple.TupleBase |
|---|
entryToInput, getTupleBufferSize, getTupleOutput, inputToEntry, newOutput, newOutput, outputToEntry, setTupleBufferSize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractObjectBinding()
| Method Detail |
|---|
public abstract PersistentKey getKey(java.lang.Object object)
PersistentKey object from the value object
public abstract java.lang.Object entryToObject(com.sleepycat.bind.tuple.TupleInput input)
TupleInput entry.
entryToObject in class com.sleepycat.bind.tuple.TupleBindinginput - is the tuple key or data entry.
public abstract void objectToEntry(java.lang.Object object,
com.sleepycat.bind.tuple.TupleOutput output)
objectToEntry in class com.sleepycat.bind.tuple.TupleBindingobject - is the key or data object.output - is the tuple entry to which the key or data should be
written.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||