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 converterClasstoDomainValue(Object discriminatorValue)Convert the relational form just retrieved from JDBC ResultSet into the domain form.ObjecttoRelationalValue(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:BasicValueConverterConvert the relational form just retrieved from JDBC ResultSet into the domain form.- Specified by:
toDomainValuein interfaceBasicValueConverter<Class,Object>
-
toRelationalValue
public Object toRelationalValue(Class domainForm)
Description copied from interface:BasicValueConverterConvert the domain form into the relational form in preparation for storage into JDBC- Specified by:
toRelationalValuein interfaceBasicValueConverter<Class,Object>
-
getDomainJavaType
public JavaType<Class> getDomainJavaType()
Description copied from interface:BasicValueConverterDescriptor for the Java type for the domain portion of this converter- Specified by:
getDomainJavaTypein interfaceBasicValueConverter<Class,Object>
-
getRelationalJavaType
public JavaType<Object> getRelationalJavaType()
Description copied from interface:BasicValueConverterDescriptor for the Java type for the relational portion of this converter- Specified by:
getRelationalJavaTypein interfaceBasicValueConverter<Class,Object>
-
-