Interface CoreConverter<MAPPING extends CoreMapping,SESSION extends CoreSession>
-
- All Known Subinterfaces:
Converter,XMLConverter
- All Known Implementing Classes:
ClassInstanceConverter,ConverterClass,EnumTypeConverter,JAXBEnumTypeConverter,JAXBTypesafeEnumConverter,ObjectTypeConverter,SerializedObjectConverter,TypeConversionConverter,XMLConverterAdapter,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
All Methods Instance Methods Abstract 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.voidinitialize(MAPPING mapping, SESSION session)PUBLIC: Allow for any initialization.
-
-
-
Method Detail
-
convertObjectValueToDataValue
java.lang.Object convertObjectValueToDataValue(java.lang.Object objectValue, SESSION session)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
java.lang.Object convertDataValueToObjectValue(java.lang.Object dataValue, SESSION session)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.
-
-