Class AnyDiscriminatorConverter
- java.lang.Object
-
- org.hibernate.metamodel.model.domain.internal.AnyDiscriminatorConverter
-
- All Implemented Interfaces:
BasicValueConverter<Class,Object>
public class AnyDiscriminatorConverter extends Object implements BasicValueConverter<Class,Object>
-
-
Constructor Summary
Constructors Constructor Description AnyDiscriminatorConverter(MetaType modelPart, BasicType discriminatorBasicType, TypeConfiguration typeConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JavaType<Class>
getDomainJavaType()
Descriptor for the Java type for the domain portion of this converterJavaType<Class>
getExpressibleJavaType()
JavaType<Object>
getRelationalJavaType()
Descriptor for the Java type for the relational portion of this converterClass
toDomainValue(Object discriminatorValue)
Convert the relational form just retrieved from JDBC ResultSet into the domain form.Object
toRelationalValue(Class domainForm)
Convert the domain form into the relational form in preparation for storage into JDBC-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.metamodel.model.convert.spi.BasicValueConverter
getCheckCondition, getSpecializedTypeDeclaration
-
-
-
-
Constructor Detail
-
AnyDiscriminatorConverter
public AnyDiscriminatorConverter(MetaType modelPart, BasicType discriminatorBasicType, TypeConfiguration typeConfiguration)
-
-
Method Detail
-
toDomainValue
public Class toDomainValue(Object discriminatorValue)
Description copied from interface:BasicValueConverter
Convert the relational form just retrieved from JDBC ResultSet into the domain form.- Specified by:
toDomainValue
in interfaceBasicValueConverter<Class,Object>
-
toRelationalValue
public Object toRelationalValue(Class 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<Class,Object>
-
getDomainJavaType
public JavaType<Class> getDomainJavaType()
Description copied from interface:BasicValueConverter
Descriptor for the Java type for the domain portion of this converter- Specified by:
getDomainJavaType
in interfaceBasicValueConverter<Class,Object>
-
getRelationalJavaType
public JavaType<Object> getRelationalJavaType()
Description copied from interface:BasicValueConverter
Descriptor for the Java type for the relational portion of this converter- Specified by:
getRelationalJavaType
in interfaceBasicValueConverter<Class,Object>
-
-