| Modifier and Type | Field and Description |
|---|---|
| protected transient Method | |
| protected AbstractTransformationMapping | |
| protected String |
| 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 Class | |
| public String | |
| public void | initialize(AbstractTransformationMapping
- the mapping this transformer is associated with. mapping)Implements org. |
| public void |
| fieldTransformationMethod | back to summary |
|---|---|
| protected transient Method fieldTransformationMethod | |
| mapping | back to summary |
|---|---|
| protected AbstractTransformationMapping mapping | |
| methodName | back to summary |
|---|---|
| protected String methodName | |
| MethodBasedFieldTransformer | back to summary |
|---|---|
| public MethodBasedFieldTransformer(String methodName) | |
| buildFieldValue | back to summary |
|---|---|
| public Object buildFieldValue(Object object, String fieldName, Session session) Implements org.
| |
| getFieldType | back to summary |
|---|---|
| public Class Return the Java class type of the field value. This uses the method return type. | |
| getMethodName | back to summary |
|---|---|
| public String getMethodName() | |
| 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
| |
| setMethodName | back to summary |
|---|---|
| public void setMethodName(String name) | |