|
Oracle Fusion Middleware Java API Reference for Oracle TopLink (Deprecated) 11g Release 1 (11.1.1) B32476-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FieldTransformer
This interface is used by the Transformation Mapping to build the value for a specific field. The user must provide implementations of this interface to the Transformation Mapping.
Method Summary | |
---|---|
java.lang.Object |
buildFieldValue(java.lang.Object instance,
java.lang.String fieldName,
Session session)
|
void |
initialize(AbstractTransformationMapping mapping)
Initialize this transformer. |
Method Detail |
---|
void initialize(AbstractTransformationMapping mapping)
mapping
- - the mapping this transformer is associated with.java.lang.Object buildFieldValue(java.lang.Object instance, java.lang.String fieldName, Session session)
instance
- - an instance of the domain class which contains the attributesession
- - the current sessionfieldName
- - the name of the field being transformed. Used if the user wants to use this transformer for multiple fields.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |