|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EntityBinding
The interface implemented by all entity or key/data-to-object bindings.
Method Summary | |
---|---|
java.lang.Object |
dataToObject(DataBuffer key,
DataBuffer value)
Converts key and value data buffers into an entity Object. |
DataFormat |
getKeyFormat()
Returns the format used for the key data of this binding. |
DataFormat |
getValueFormat()
Returns the format used for the value data of this binding. |
void |
objectToKey(java.lang.Object object,
DataBuffer key)
Extracts the key data from an entity Object. |
void |
objectToValue(java.lang.Object object,
DataBuffer value)
Extracts the value data from an entity Object. |
Method Detail |
---|
java.lang.Object dataToObject(DataBuffer key, DataBuffer value) throws java.io.IOException
key
- is the source key data.value
- is the source value data.
java.io.IOException
void objectToKey(java.lang.Object object, DataBuffer key) throws java.io.IOException
object
- is the source Object.key
- is the destination data buffer.
java.io.IOException
void objectToValue(java.lang.Object object, DataBuffer value) throws java.io.IOException
object
- is the source Object.value
- is the destination data buffer.
java.io.IOException
DataFormat getKeyFormat()
DataFormat getValueFormat()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |