Class AttributeTransformerAdapter

  • All Implemented Interfaces:
    java.io.Serializable, AttributeTransformer

    public class AttributeTransformerAdapter
    extends java.lang.Object
    implements 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:
    AttributeTransformer, Serialized Form
    Author:
    mmacivor
    Since:
    10
    • Constructor Detail

      • AttributeTransformerAdapter

        public AttributeTransformerAdapter()
    • Method Detail

      • buildAttributeValue

        public java.lang.Object buildAttributeValue​(Record record,
                                                    java.lang.Object object,
                                                    Session session)
        Specified by:
        buildAttributeValue in interface AttributeTransformer
        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.