Purpose: Provides an empty implementation of FieldTransformer. Users who do not require the full FieldTransformer API can subclass this class and implement only the methods required.
FieldTransformer
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | buildFieldValue(Object
- an instance of the domain class which contains the attribute object, String - the name of the field being transformed. Used if the user wants to use this transformer for multiple fields. fieldName, Session - the current session session)Implements org. |
| public void | initialize(AbstractTransformationMapping
- the mapping this transformer is associated with. mapping)Implements org. |
| FieldTransformerAdapter | back to summary |
|---|---|
| public FieldTransformerAdapter() | |
| buildFieldValue | back to summary |
|---|---|
| public Object buildFieldValue(Object object, String fieldName, Session session) Implements org.
| |
| initialize | back to summary |
|---|---|
| public void initialize(AbstractTransformationMapping mapping) Implements org. Doc from org. Initialize this transformer. Only required if the user needs some special information from the mapping in order to do the transformation
| |