Class SimpleBasicValueConverter<D,R>
- java.lang.Object
-
- org.hibernate.metamodel.model.convert.spi.SimpleBasicValueConverter<D,R>
-
- All Implemented Interfaces:
BasicValueConverter<D,R>
public class SimpleBasicValueConverter<D,R> extends Object implements BasicValueConverter<D,R>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JavaType<D>getDomainJavaType()Descriptor for the Java type for the domain portion of this converterJavaType<R>getRelationalJavaType()Descriptor for the Java type for the relational portion of this converterDtoDomainValue(R relationalForm)Convert the relational form just retrieved from JDBC ResultSet into the domain form.RtoRelationalValue(D domainForm)Convert the domain form into the relational form in preparation for storage into JDBC
-
-
-
Method Detail
-
toDomainValue
public D toDomainValue(R relationalForm)
Description copied from interface:BasicValueConverterConvert the relational form just retrieved from JDBC ResultSet into the domain form.- Specified by:
toDomainValuein interfaceBasicValueConverter<D,R>
-
toRelationalValue
public R toRelationalValue(D domainForm)
Description copied from interface:BasicValueConverterConvert the domain form into the relational form in preparation for storage into JDBC- Specified by:
toRelationalValuein interfaceBasicValueConverter<D,R>
-
getDomainJavaType
public JavaType<D> getDomainJavaType()
Description copied from interface:BasicValueConverterDescriptor for the Java type for the domain portion of this converter- Specified by:
getDomainJavaTypein interfaceBasicValueConverter<D,R>
-
getRelationalJavaType
public JavaType<R> getRelationalJavaType()
Description copied from interface:BasicValueConverterDescriptor for the Java type for the relational portion of this converter- Specified by:
getRelationalJavaTypein interfaceBasicValueConverter<D,R>
-
-