Package org.hibernate.boot.model
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) boolean
getName()
String[]
Class<?>
int
hashCode()
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, MutabilityPlan<?> explicitMutabilityPlan, MetadataBuildingContext context, JdbcTypeIndicators indicators) -
createLocalResolution
public static BasicValue.Resolution<?> createLocalResolution(String name, Class<?> typeImplementorClass, Map<?, ?> localTypeParams, MetadataBuildingContext buildingContext) -
equals
-
hashCode
public int hashCode() -
toString
-