Class UserTypeResolution
- java.lang.Object
-
- org.hibernate.boot.model.process.internal.UserTypeResolution
-
- All Implemented Interfaces:
BasicValue.Resolution
public class UserTypeResolution extends Object implements BasicValue.Resolution
-
-
Constructor Summary
Constructors Constructor Description UserTypeResolution(CustomType<?> userTypeAdapter, MutabilityPlan<?> 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<?>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.MutabilityPlangetMutabilityPlan()The resolved MutabilityPlanJavaType<?>getRelationalJavaType()The JavaType for the relational value as part of the relational model (its JDBC representation)BasicValueConvertergetValueConverter()Converter, if any, to convert values between the domain and relational JavaType representations
-
-
-
Constructor Detail
-
UserTypeResolution
public UserTypeResolution(CustomType<?> userTypeAdapter, MutabilityPlan<?> explicitMutabilityPlan, Properties combinedTypeParameters)
-
-
Method Detail
-
getDomainJavaType
public JavaType<?> getDomainJavaType()
Description copied from interface:BasicValue.ResolutionThe JavaType for the value as part of the domain model- Specified by:
getDomainJavaTypein interfaceBasicValue.Resolution
-
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
-
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
-
getValueConverter
public BasicValueConverter getValueConverter()
Description copied from interface:BasicValue.ResolutionConverter, if any, to convert values between the domain and relational JavaType representations- Specified by:
getValueConverterin interfaceBasicValue.Resolution
-
getMutabilityPlan
public MutabilityPlan getMutabilityPlan()
Description copied from interface:BasicValue.ResolutionThe resolved MutabilityPlan- Specified by:
getMutabilityPlanin interfaceBasicValue.Resolution
-
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
-
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
-
getJdbcMapping
public JdbcMapping getJdbcMapping()
- Specified by:
getJdbcMappingin interfaceBasicValue.Resolution
-
-