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 (TypeDef) or XML mappings. An alternative form of supplying custom types is programmatically via one of:- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TypeDefinition(String name, Class typeImplementorClass, String[] registrationKeys, Map<String,String> parameters)TypeDefinition(String name, Class typeImplementorClass, String[] registrationKeys, Properties parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetName()Map<String,String>getParameters()PropertiesgetParametersAsProperties()String[]getRegistrationKeys()ClassgetTypeImplementorClass()inthashCode()StringtoString()
-
-
-
Method Detail
-
getName
public String getName()
-
getTypeImplementorClass
public Class getTypeImplementorClass()
-
getRegistrationKeys
public String[] getRegistrationKeys()
-
getParametersAsProperties
public Properties getParametersAsProperties()
-
-