Class VersionResolution<E>
- java.lang.Object
-
- org.hibernate.boot.model.process.internal.VersionResolution<E>
-
- All Implemented Interfaces:
BasicValue.Resolution<E>
public class VersionResolution<E> extends Object implements BasicValue.Resolution<E>
-
-
Constructor Summary
Constructors Constructor Description VersionResolution(JavaType javaType, JdbcType jdbcType, JdbcMapping jdbcMapping, BasicType legacyType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <E> VersionResolution<E>from(Function<TypeConfiguration,Type> implicitJavaTypeAccess, TimeZoneStorageType timeZoneStorageType, MetadataBuildingContext context)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)BasicValueConverter<E,E>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
-
VersionResolution
public VersionResolution(JavaType javaType, JdbcType jdbcType, JdbcMapping jdbcMapping, BasicType legacyType)
-
-
Method Detail
-
from
public static <E> VersionResolution<E> from(Function<TypeConfiguration,Type> implicitJavaTypeAccess, TimeZoneStorageType timeZoneStorageType, MetadataBuildingContext context)
-
getJdbcMapping
public JdbcMapping getJdbcMapping()
- Specified by:
getJdbcMappingin interfaceBasicValue.Resolution<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>
-
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>
-
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>
-
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>
-
getValueConverter
public BasicValueConverter<E,E> 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>
-
getMutabilityPlan
public MutabilityPlan<E> getMutabilityPlan()
Description copied from interface:BasicValue.ResolutionThe resolved MutabilityPlan- Specified by:
getMutabilityPlanin interfaceBasicValue.Resolution<E>
-
-