| Modifier and Type | Field and Description |
|---|---|
| protected transient Method | |
| protected AbstractTransformationMapping | |
| protected String |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | buildAttributeValue(DataRecord
- The metadata being used to build the object. dataRecord, Object - The current object that the attribute is being built for. object, Session - the current session session)Implements org. |
| public Method | |
| public String | |
| public void | initialize(AbstractTransformationMapping
- The mapping associated with this transformer. Only used if some special information is required. mapping)Implements org. |
| public void | |
| public void |
| attributeTransformationMethod | back to summary |
|---|---|
| protected transient Method attributeTransformationMethod | |
| mapping | back to summary |
|---|---|
| protected AbstractTransformationMapping mapping | |
| methodName | back to summary |
|---|---|
| protected String methodName | |
| MethodBasedAttributeTransformer | back to summary |
|---|---|
| public MethodBasedAttributeTransformer() | |
| MethodBasedAttributeTransformer | back to summary |
|---|---|
| public MethodBasedAttributeTransformer(String methodName) | |
| buildAttributeValue | back to summary |
|---|---|
| public Object buildAttributeValue(DataRecord dataRecord, Object object, Session session) Implements org. INTERNAL: Build the attribute value by invoking the user's transformation method.
| |
| getAttributeTransformationMethod | back to summary |
|---|---|
| public Method getAttributeTransformationMethod() | |
| getMethodName | back to summary |
|---|---|
| public String getMethodName() | |
| initialize | back to summary |
|---|---|
| public void initialize(AbstractTransformationMapping mapping) Implements org. INTERNAL: Initilizes the transformer. Looks up the transformation method on the domain class using reflection. This method can have either 1 or 2 parameters.
| |
| setAttributeTransformationMethod | back to summary |
|---|---|
| public void setAttributeTransformationMethod(Method theMethod) | |
| setMethodName | back to summary |
|---|---|
| public void setMethodName(String name) | |