Class XMLConverterAdapter
java.lang.Object
org.eclipse.persistence.oxm.mappings.converters.XMLConverterAdapter
- All Implemented Interfaces:
Serializable,CoreConverter<DatabaseMapping,,Session> Converter,XMLConverter
- Version:
- $Header: XMLConverterAdapter.java 09-aug-2007.15:24:27 dmccann Exp $
- See Also:
- Author:
- mmacivor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertDataValueToObjectValue(Object dataValue, Session session) PUBLIC: Convert the databases' data representation of the value to the object's representation.convertObjectValueToDataValue(Object objectValue, Session session) PUBLIC: Convert the object's representation of the value to the databases' data representation.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.persistence.mappings.converters.Converter
initialize, isMutableMethods inherited from interface org.eclipse.persistence.oxm.mappings.converters.XMLConverter
convertDataValueToObjectValue, convertObjectValueToDataValue
-
Constructor Details
-
XMLConverterAdapter
public XMLConverterAdapter()
-
-
Method Details
-
convertObjectValueToDataValue
Description copied from interface:ConverterPUBLIC: Convert the object's representation of the value to the databases' data representation. For example this could convert between a Calendar Java type and the sql.Time datatype.- Specified by:
convertObjectValueToDataValuein interfaceConverter- Specified by:
convertObjectValueToDataValuein interfaceCoreConverter<DatabaseMapping,Session>
-
convertDataValueToObjectValue
Description copied from interface:ConverterPUBLIC: Convert the databases' data representation of the value to the object's representation. For example this could convert between an sql.Time datatype and the Java Calendar type.- Specified by:
convertDataValueToObjectValuein interfaceConverter- Specified by:
convertDataValueToObjectValuein interfaceCoreConverter<DatabaseMapping,Session>
-