Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Public Methods
Parameters
name
| The registration name |
public
Type
heuristicType
(String typeName, Properties parameters)
Uses heuristics to deduce the proper Type
given a string naming the type or Java class.
The search goes as follows:
- search for a basic type with 'typeName' as a registration key
-
look for 'typeName' as a class name and
- if it names a
Type
implementor, return an instance
- if it names a
CompositeUserType
or a UserType
, return an instance of class wrapped intot the appropriate Type
adapter
- if it implements
Lifecycle
, return the corresponding entity type
- if it implements
Serializable
, return the corresponding serializable type
Parameters
typeName
| The name (see heuristic algorithm above). |
parameters
| Any parameters for the type. Only applied if built! |
Returns
- The deduced type; may be null.
public
Type
heuristicType
(String typeName)
Returns
- The deduced type; may be null.
public
void
registerTypeOverride
(BasicType type)