|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tranql.field.FieldMarshaller
Transform that stores a Serializable object in the cache as a byte array.
Constructor Summary | |
FieldMarshaller(FieldTransform next,
java.lang.ClassLoader cl,
java.lang.Class fieldClass)
|
Method Summary | |
java.lang.Object |
get(Row row)
Return a value from the cache |
java.lang.Class |
getFieldClass()
Return the Java Class that will be returned by fetch and that should be passed to set. |
void |
set(Row row,
java.lang.Object value)
Set a value into the cache |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FieldMarshaller(FieldTransform next, java.lang.ClassLoader cl, java.lang.Class fieldClass)
Method Detail |
public java.lang.Class getFieldClass()
FieldTransform
getFieldClass
in interface FieldTransform
public java.lang.Object get(Row row) throws FieldTransformException
FieldTransform
get
in interface FieldTransform
row
- the row to fetch from
FieldTransformException
public void set(Row row, java.lang.Object value) throws FieldTransformException
FieldTransform
set
in interface FieldTransform
row
- the row to store the value intovalue
- the value to be transformed
FieldTransformException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |