Module org.eclipse.persistence.core
Interface AttributeTransformer
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AttributeTransformerAdapter
,MethodBasedAttributeTransformer
,QNameTransformer
,QNameTransformer
PUBLIC:
- Since:
- 10 This interface is used by the Transformation Mapping to build the value for a the mapped attribute on a read. The user must provide an implementation of this interface to the Transformation Mapping.
- Version:
- $Header: AttributeTransformer.java 11-jul-2006.10:33:44 gyorke Exp $
-
Method Summary
Modifier and TypeMethodDescriptionbuildAttributeValue
(DataRecord dataRecord, Object object, Session session) void
initialize
(AbstractTransformationMapping mapping)
-
Method Details
-
initialize
- Parameters:
mapping
- - The mapping associated with this transformer. Only used if some special information is required.
-
buildAttributeValue
- Parameters:
dataRecord
- - The metadata being used to build the object.object
- - The current object that the attribute is being built for.session
- - the current session- Returns:
- - The attribute value to be built into the object containing this mapping.
-