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
-
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, 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
-
Constructor Details
-
XMLConverterAdapter
public XMLConverterAdapter()
-
-
Method Details
-
convertObjectValueToDataValue
Description copied from interface:Converter
PUBLIC: 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:
convertObjectValueToDataValue
in interfaceConverter
- Specified by:
convertObjectValueToDataValue
in interfaceCoreConverter<DatabaseMapping,
Session>
-
convertDataValueToObjectValue
Description copied from interface:Converter
PUBLIC: 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:
convertDataValueToObjectValue
in interfaceConverter
- Specified by:
convertDataValueToObjectValue
in interfaceCoreConverter<DatabaseMapping,
Session>
-