- All Known Implementing Classes:
public interface FieldTransformer extends CoreFieldTransformer<Session>PUBLIC: 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.
void initialize(AbstractTransformationMapping mapping)Initialize this transformer. Only required if the user needs some special information from the mapping in order to do the transformation
mapping- - the mapping this transformer is associated with.
- Specified by:
instance- - an instance of the domain class which contains the attribute
session- - the current session
fieldName- - the name of the field being transformed. Used if the user wants to use this transformer for multiple fields.
- - The value to be written for the field associated with this transformer