Class AbstractDiscriminatorMapping.DomainResultConverter<R>
- java.lang.Object
-
- org.hibernate.metamodel.mapping.internal.AbstractDiscriminatorMapping.DomainResultConverter<R>
-
- All Implemented Interfaces:
BasicValueConverter<Object,R>
- Enclosing class:
- AbstractDiscriminatorMapping
protected static class AbstractDiscriminatorMapping.DomainResultConverter<R> extends Object implements BasicValueConverter<Object,R>
Used to convert the underlying discriminator value into a Class (or String for entity-name) reference for the entity type
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JavaType<Object>
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 converterObject
toDomainValue(R relationalForm)
Convert the relational form just retrieved from JDBC ResultSet into the domain form.R
toRelationalValue(Object domainForm)
Convert the domain form into the relational form in preparation for storage into JDBC
-
-
-
Method Detail
-
toDomainValue
public Object 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<Object,R>
-
toRelationalValue
public R toRelationalValue(Object 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<Object,R>
-
getDomainJavaType
public JavaType<Object> getDomainJavaType()
Description copied from interface:BasicValueConverter
Descriptor for the Java type for the domain portion of this converter- Specified by:
getDomainJavaType
in interfaceBasicValueConverter<Object,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<Object,R>
-
-