Class TypeDefinition
java.lang.Object
org.hibernate.boot.model.TypeDefinition
- All Implemented Interfaces:
Serializable
Models the information pertaining to a custom type definition supplied by the user.
Used to delay instantiation of the actual
Type instance.
Generally speaking this information would come from annotations
(Type) or XML mappings. An alternative way to
supply custom types is programmatically, via one of:
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BasicValue.Resolution<?> createLocalResolution(String name, Class<?> typeImplementorClass, Map<?, ?> localTypeParams, MetadataBuildingContext buildingContext) booleangetName()String[]Class<?> inthashCode()resolve(Map<?, ?> localConfigParameters, MetadataBuildingContext context, JdbcTypeIndicators indicators) resolve(Map<?, ?> localConfigParameters, MutabilityPlan<?> explicitMutabilityPlan, MetadataBuildingContext context, JdbcTypeIndicators indicators) toString()
-
Field Details
-
NAME_COUNTER
-
-
Constructor Details
-
TypeDefinition
-
-
Method Details
-
getName
-
getTypeImplementorClass
-
getRegistrationKeys
-
getParameters
-
resolve
public BasicValue.Resolution<?> resolve(Map<?, ?> localConfigParameters, MetadataBuildingContext context, JdbcTypeIndicators indicators) -
resolve
public BasicValue.Resolution<?> resolve(Map<?, ?> localConfigParameters, MutabilityPlan<?> explicitMutabilityPlan, MetadataBuildingContext context, JdbcTypeIndicators indicators) -
createLocalResolution
public static BasicValue.Resolution<?> createLocalResolution(String name, Class<?> typeImplementorClass, Map<?, ?> localTypeParams, MetadataBuildingContext buildingContext) -
equals
-
hashCode
-
toString
-