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 converterD
toDomainValue(R relationalForm)
Convert the relational form just retrieved from JDBC ResultSet into the domain form.R
toRelationalValue(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:BasicValueConverter
Convert the relational form just retrieved from JDBC ResultSet into the domain form.- Specified by:
toDomainValue
in interfaceBasicValueConverter<D,R>
-
toRelationalValue
public R toRelationalValue(D domainForm)
Description copied from interface:BasicValueConverter
Convert the domain form into the relational form in preparation for storage into JDBC- Specified by:
toRelationalValue
in interfaceBasicValueConverter<D,R>
-
getDomainJavaType
public JavaType<D> getDomainJavaType()
Description copied from interface:BasicValueConverter
Descriptor for the Java type for the domain portion of this converter- Specified by:
getDomainJavaType
in interfaceBasicValueConverter<D,R>
-
getRelationalJavaType
public JavaType<R> getRelationalJavaType()
Description copied from interface:BasicValueConverter
Descriptor for the Java type for the relational portion of this converter- Specified by:
getRelationalJavaType
in interfaceBasicValueConverter<D,R>
-
-