Class AttributeTransformerAdapter
java.lang.Object
org.eclipse.persistence.mappings.transformers.AttributeTransformerAdapter
- All Implemented Interfaces:
Serializable
,AttributeTransformer
Purpose: Provides an empty implementation of AttributeTransformer. Users who do not require the full AttributeTransformer API can subclass this class and implement only the methods required.
- Version:
- $Header: AttributeTransformerAdapter.java 11-jul-2006.10:33:44 gyorke Exp $
- See Also:
- Author:
- mmacivor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildAttributeValue
(Record record, Object object, Session session) void
initialize
(AbstractTransformationMapping mapping)
-
Constructor Details
-
AttributeTransformerAdapter
public AttributeTransformerAdapter()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfaceAttributeTransformer
- Parameters:
mapping
- - The mapping associated with this transformer. Only used if some special information is required.
-
buildAttributeValue
- Specified by:
buildAttributeValue
in interfaceAttributeTransformer
- Parameters:
record
- - 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.
-