Package org.hibernate.boot.model
Class TypeDefinition
- java.lang.Object
-
- org.hibernate.boot.model.TypeDefinition
-
- All Implemented Interfaces:
Serializable
public class TypeDefinition extends Object implements Serializable
Models the information pertaining to a custom type definition supplied by the user. Used to delay instantiation of the actualTypeinstance. Generally speaking this information would come from annotations (Type) or XML mappings. An alternative form of supplying custom types is programmatically via one of:- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static AtomicIntegerNAME_COUNTER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BasicValue.Resolution<?>createLocalResolution(String name, Class<?> typeImplementorClass, Map<?,?> localTypeParams, MetadataBuildingContext buildingContext)booleanequals(Object o)StringgetName()Map<String,String>getParameters()String[]getRegistrationKeys()Class<?>getTypeImplementorClass()inthashCode()BasicValue.Resolution<?>resolve(Map<?,?> localConfigParameters, MutabilityPlan<?> explicitMutabilityPlan, MetadataBuildingContext context, JdbcTypeIndicators indicators)StringtoString()
-
-
-
Field Detail
-
NAME_COUNTER
public static final AtomicInteger NAME_COUNTER
-
-
Method Detail
-
getName
public String getName()
-
getTypeImplementorClass
public Class<?> getTypeImplementorClass()
-
getRegistrationKeys
public String[] getRegistrationKeys()
-
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)
-
-