public interface FieldTransformer
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
buildFieldValue(java.lang.Object instance,
java.lang.String fieldName,
Session session) |
void |
initialize(AbstractTransformationMapping mapping)
Initialize this transformer.
|
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.