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, Function<TypeConfiguration,BasicJavaType> explicitJtdAccess, Function<TypeConfiguration,JdbcType> explicitStdAccess, TimeZoneStorageType timeZoneStorageType, TypeConfiguration typeConfiguration, MetadataBuildingContext context)
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)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, Function<TypeConfiguration,BasicJavaType> explicitJtdAccess, Function<TypeConfiguration,JdbcType> explicitStdAccess, TimeZoneStorageType timeZoneStorageType, TypeConfiguration typeConfiguration, MetadataBuildingContext context)
-
getJdbcMapping
public JdbcMapping getJdbcMapping()
- Specified by:
getJdbcMapping
in interfaceBasicValue.Resolution<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>
-
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>
-
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>
-
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>
-
getValueConverter
public BasicValueConverter<E,E> 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>
-
getMutabilityPlan
public MutabilityPlan<E> getMutabilityPlan()
Description copied from interface:BasicValue.Resolution
The resolved MutabilityPlan- Specified by:
getMutabilityPlan
in interfaceBasicValue.Resolution<E>
-
-