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 actualType
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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static AtomicInteger
NAME_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)
boolean
equals(Object o)
String
getName()
Map<String,String>
getParameters()
String[]
getRegistrationKeys()
Class<?>
getTypeImplementorClass()
int
hashCode()
BasicValue.Resolution<?>
resolve(Map<?,?> localConfigParameters, MutabilityPlan<?> explicitMutabilityPlan, MetadataBuildingContext context, JdbcTypeIndicators indicators)
String
toString()
-
-
-
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)
-
-