Class EnumeratedValueResolution<E extends Enum<E>>
- java.lang.Object
-
- org.hibernate.boot.model.process.internal.EnumeratedValueResolution<E>
-
- All Implemented Interfaces:
BasicValue.Resolution<E>
public class EnumeratedValueResolution<E extends Enum<E>> extends Object implements BasicValue.Resolution<E>
-
-
Constructor Summary
Constructors Constructor Description EnumeratedValueResolution(CustomType<Object> enumTypeMapping, JavaType<E> domainJtd, JavaType<?> jdbcJtd, JdbcType jdbcType, EnumValueConverter<E,?> valueConverter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JavaType<E>
getDomainJavaType()
The JavaType for the value as part of the domain modelJdbcMapping
getJdbcMapping()
JdbcType
getJdbcType()
The JavaType for the relational value as part of the relational model (its JDBC representation)BasicType
getLegacyResolvedBasicType()
The BasicType resolved using the pre-6.0 rules.MutabilityPlan<E>
getMutabilityPlan()
The resolved MutabilityPlanJavaType<?>
getRelationalJavaType()
The JavaType for the relational value as part of the relational model (its JDBC representation)EnumValueConverter
getValueConverter()
Converter, if any, to convert values between the domain and relational JavaType representations-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.mapping.BasicValue.Resolution
getCombinedTypeParameters
-
-
-
-
Constructor Detail
-
EnumeratedValueResolution
public EnumeratedValueResolution(CustomType<Object> enumTypeMapping, JavaType<E> domainJtd, JavaType<?> jdbcJtd, JdbcType jdbcType, EnumValueConverter<E,?> valueConverter)
-
-
Method Detail
-
getJdbcMapping
public JdbcMapping getJdbcMapping()
- Specified by:
getJdbcMapping
in interfaceBasicValue.Resolution<E extends Enum<E>>
-
getLegacyResolvedBasicType
public BasicType getLegacyResolvedBasicType()
Description copied from interface:BasicValue.Resolution
The BasicType resolved using the pre-6.0 rules. This is temporarily needed because of the split in extracting / binding- Specified by:
getLegacyResolvedBasicType
in interfaceBasicValue.Resolution<E extends Enum<E>>
-
getDomainJavaType
public JavaType<E> getDomainJavaType()
Description copied from interface:BasicValue.Resolution
The JavaType for the value as part of the domain model- Specified by:
getDomainJavaType
in interfaceBasicValue.Resolution<E extends Enum<E>>
-
getRelationalJavaType
public JavaType<?> getRelationalJavaType()
Description copied from interface:BasicValue.Resolution
The JavaType for the relational value as part of the relational model (its JDBC representation)- Specified by:
getRelationalJavaType
in interfaceBasicValue.Resolution<E extends Enum<E>>
-
getJdbcType
public JdbcType getJdbcType()
Description copied from interface:BasicValue.Resolution
The JavaType for the relational value as part of the relational model (its JDBC representation)- Specified by:
getJdbcType
in interfaceBasicValue.Resolution<E extends Enum<E>>
-
getValueConverter
public EnumValueConverter getValueConverter()
Description copied from interface:BasicValue.Resolution
Converter, if any, to convert values between the domain and relational JavaType representations- Specified by:
getValueConverter
in interfaceBasicValue.Resolution<E extends Enum<E>>
-
getMutabilityPlan
public MutabilityPlan<E> getMutabilityPlan()
Description copied from interface:BasicValue.Resolution
The resolved MutabilityPlan- Specified by:
getMutabilityPlan
in interfaceBasicValue.Resolution<E extends Enum<E>>
-
-