Class XMLConverterAdapter
- java.lang.Object
-
- org.eclipse.persistence.oxm.mappings.converters.XMLConverterAdapter
-
- All Implemented Interfaces:
java.io.Serializable,CoreConverter<DatabaseMapping,Session>,Converter,XMLConverter
public abstract class XMLConverterAdapter extends java.lang.Object implements XMLConverter
- Version:
- $Header: XMLConverterAdapter.java 09-aug-2007.15:24:27 dmccann Exp $
- See Also:
- Serialized Form
- Author:
- mmacivor
- Since:
- release specific (what release of product did this appear in)
-
-
Constructor Summary
Constructors Constructor Description XMLConverterAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectconvertDataValueToObjectValue(java.lang.Object dataValue, Session session)PUBLIC: Convert the databases' data representation of the value to the object's representation.java.lang.ObjectconvertObjectValueToDataValue(java.lang.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, wait
-
Methods inherited from interface org.eclipse.persistence.mappings.converters.Converter
initialize, isMutable
-
Methods inherited from interface org.eclipse.persistence.oxm.mappings.converters.XMLConverter
convertDataValueToObjectValue, convertObjectValueToDataValue
-
-
-
-
Method Detail
-
convertObjectValueToDataValue
public java.lang.Object convertObjectValueToDataValue(java.lang.Object objectValue, Session session)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
public java.lang.Object convertDataValueToObjectValue(java.lang.Object dataValue, Session session)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>
-
-