org.hibernate.tuple
Class DynamicMapInstantiator
java.lang.Object
org.hibernate.tuple.DynamicMapInstantiator
- All Implemented Interfaces:
- java.io.Serializable, Instantiator
public class DynamicMapInstantiator
- extends java.lang.Object
- implements Instantiator
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
KEY
|
Method Summary |
protected java.util.Map |
generateMap()
|
java.lang.Object |
instantiate()
Perform the requested instantiation. |
java.lang.Object |
instantiate(java.io.Serializable id)
Perform the requested entity instantiation. |
boolean |
isInstance(java.lang.Object object)
Performs check to see if the given object is an instance of the entity
or component which this Instantiator instantiates. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY
public static final java.lang.String KEY
- See Also:
- Constant Field Values
DynamicMapInstantiator
public DynamicMapInstantiator()
DynamicMapInstantiator
public DynamicMapInstantiator(PersistentClass mappingInfo)
instantiate
public final java.lang.Object instantiate(java.io.Serializable id)
- Description copied from interface:
Instantiator
- Perform the requested entity instantiation.
This form is never called for component instantiation, only entity instantiation.
- Specified by:
instantiate
in interface Instantiator
- Parameters:
id
- The id of the entity to be instantiated.
- Returns:
- An appropriately instantiated entity.
instantiate
public final java.lang.Object instantiate()
- Description copied from interface:
Instantiator
- Perform the requested instantiation.
- Specified by:
instantiate
in interface Instantiator
- Returns:
- The instantiated data structure.
isInstance
public final boolean isInstance(java.lang.Object object)
- Description copied from interface:
Instantiator
- Performs check to see if the given object is an instance of the entity
or component which this Instantiator instantiates.
- Specified by:
isInstance
in interface Instantiator
- Parameters:
object
- The object to be checked.
- Returns:
- True is the object does respresent an instance of the underlying
entity/component.
generateMap
protected java.util.Map generateMap()
Copyright © 2008 Hibernate.org. All Rights Reserved.