Class UserTypeResolution<T>
- java.lang.Object
-
- org.hibernate.boot.model.process.internal.UserTypeResolution<T>
-
- All Implemented Interfaces:
BasicValue.Resolution<T>
public class UserTypeResolution<T> extends Object implements BasicValue.Resolution<T>
-
-
Constructor Summary
Constructors Constructor Description UserTypeResolution(CustomType<T> userTypeAdapter, MutabilityPlan<T> explicitMutabilityPlan, Properties combinedTypeParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertiesgetCombinedTypeParameters()Get the collection of type-parameters collected both locally as well as from the applied type-def, if oneJavaType<T>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)BasicType<T>getLegacyResolvedBasicType()The BasicType resolved using the pre-6.0 rules.MutabilityPlan<T>getMutabilityPlan()The resolved MutabilityPlanJavaType<?>getRelationalJavaType()The JavaType for the relational value as part of the relational model (its JDBC representation)BasicValueConverter<T,?>getValueConverter()Converter, if any, to convert values between the domain and relational JavaType representations
-
-
-
Constructor Detail
-
UserTypeResolution
public UserTypeResolution(CustomType<T> userTypeAdapter, MutabilityPlan<T> explicitMutabilityPlan, Properties combinedTypeParameters)
-
-
Method Detail
-
getDomainJavaType
public JavaType<T> getDomainJavaType()
Description copied from interface:BasicValue.ResolutionThe JavaType for the value as part of the domain model- Specified by:
getDomainJavaTypein interfaceBasicValue.Resolution<T>
-
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<T>
-
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<T>
-
getValueConverter
public BasicValueConverter<T,?> getValueConverter()
Description copied from interface:BasicValue.ResolutionConverter, if any, to convert values between the domain and relational JavaType representations- Specified by:
getValueConverterin interfaceBasicValue.Resolution<T>
-
getMutabilityPlan
public MutabilityPlan<T> getMutabilityPlan()
Description copied from interface:BasicValue.ResolutionThe resolved MutabilityPlan- Specified by:
getMutabilityPlanin interfaceBasicValue.Resolution<T>
-
getLegacyResolvedBasicType
public BasicType<T> 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<T>
-
getCombinedTypeParameters
public Properties getCombinedTypeParameters()
Description copied from interface:BasicValue.ResolutionGet the collection of type-parameters collected both locally as well as from the applied type-def, if one- Specified by:
getCombinedTypeParametersin interfaceBasicValue.Resolution<T>
-
getJdbcMapping
public JdbcMapping getJdbcMapping()
- Specified by:
getJdbcMappingin interfaceBasicValue.Resolution<T>
-
-