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 modelJdbcMappinggetJdbcMapping()JdbcTypegetJdbcType()The JavaType for the relational value as part of the relational model (its JDBC representation)BasicTypegetLegacyResolvedBasicType()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)EnumValueConvertergetValueConverter()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:
getJdbcMappingin interfaceBasicValue.Resolution<E extends Enum<E>>
-
getLegacyResolvedBasicType
public BasicType getLegacyResolvedBasicType()
Description copied from interface:BasicValue.ResolutionThe BasicType resolved using the pre-6.0 rules. This is temporarily needed because of the split in extracting / binding- Specified by:
getLegacyResolvedBasicTypein interfaceBasicValue.Resolution<E extends Enum<E>>
-
getDomainJavaType
public JavaType<E> getDomainJavaType()
Description copied from interface:BasicValue.ResolutionThe JavaType for the value as part of the domain model- Specified by:
getDomainJavaTypein interfaceBasicValue.Resolution<E extends Enum<E>>
-
getRelationalJavaType
public JavaType<?> getRelationalJavaType()
Description copied from interface:BasicValue.ResolutionThe JavaType for the relational value as part of the relational model (its JDBC representation)- Specified by:
getRelationalJavaTypein interfaceBasicValue.Resolution<E extends Enum<E>>
-
getJdbcType
public JdbcType getJdbcType()
Description copied from interface:BasicValue.ResolutionThe JavaType for the relational value as part of the relational model (its JDBC representation)- Specified by:
getJdbcTypein interfaceBasicValue.Resolution<E extends Enum<E>>
-
getValueConverter
public EnumValueConverter getValueConverter()
Description copied from interface:BasicValue.ResolutionConverter, if any, to convert values between the domain and relational JavaType representations- Specified by:
getValueConverterin interfaceBasicValue.Resolution<E extends Enum<E>>
-
getMutabilityPlan
public MutabilityPlan<E> getMutabilityPlan()
Description copied from interface:BasicValue.ResolutionThe resolved MutabilityPlan- Specified by:
getMutabilityPlanin interfaceBasicValue.Resolution<E extends Enum<E>>
-
-