public interface FieldTransformer extends CoreFieldTransformer<Session>
BUILD_FIELD_VALUE_METHOD| Modifier and Type | Method and Description |
|---|---|
Object |
buildFieldValue(Object instance,
String fieldName,
Session session) |
void |
initialize(AbstractTransformationMapping mapping)
Initialize this transformer.
|
void initialize(AbstractTransformationMapping mapping)
mapping - - the mapping this transformer is associated with.Object buildFieldValue(Object instance, String fieldName, Session session)
buildFieldValue in interface CoreFieldTransformer<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.Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.