Module org.eclipse.persistence.core
Interface CoreConverter<MAPPING extends CoreMapping,SESSION extends CoreSession>
- All Known Subinterfaces:
Converter
,XMLConverter
- All Known Implementing Classes:
ClassInstanceConverter
,ConverterClass
,DefaultElementConverter
,DomHandlerConverter
,EmptyElementConverter
,EnumTypeConverter
,ExpressionOperatorConverter
,InstanceClassConverter
,JAXBElementConverter
,JAXBElementRootConverter
,JAXBEnumTypeConverter
,JAXBTypesafeEnumConverter
,JsonTypeConverter
,ObjectTypeConverter
,SerializedObjectConverter
,TypeConversionConverter
,TypeStringConverter
,UUIDConverter
,XMLConverterAdapter
,XMLJavaTypeConverter
,XMLListConverter
,XMLRootConverter
public interface CoreConverter<MAPPING extends CoreMapping,SESSION extends CoreSession>
INTERNAL
A abstraction of converter capturing behavior common to all persistence
types.
-
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.void
initialize
(MAPPING mapping, SESSION session) PUBLIC: Allow for any initialization.
-
Method Details
-
convertObjectValueToDataValue
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. -
convertDataValueToObjectValue
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. -
initialize
PUBLIC: Allow for any initialization.
-