Package org.hibernate.tuple
Class DynamicMapInstantiator
- java.lang.Object
-
- org.hibernate.tuple.DynamicMapInstantiator
-
- All Implemented Interfaces:
Serializable
,Instantiator
@Deprecated(since="6.2") public class DynamicMapInstantiator extends Object implements Instantiator
Deprecated.sinceInstantiator
is deprecatedInstantiator for entities represented asMap
s.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DynamicMapInstantiator()
Deprecated.DynamicMapInstantiator(PersistentClass mappingInfo)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected Map
generateMap()
Deprecated.Object
instantiate()
Deprecated.Perform the requested instantiation.Object
instantiate(Object id)
Deprecated.Perform the requested entity instantiation.boolean
isInstance(Object object)
Deprecated.Performs check to see if the given object is an instance of the entity or component which this Instantiator instantiates.
-
-
-
Field Detail
-
KEY
public static final String KEY
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DynamicMapInstantiator
public DynamicMapInstantiator()
Deprecated.
-
DynamicMapInstantiator
public DynamicMapInstantiator(PersistentClass mappingInfo)
Deprecated.
-
-
Method Detail
-
instantiate
public final Object instantiate(Object id)
Deprecated.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 interfaceInstantiator
- Parameters:
id
- The id of the entity to be instantiated.- Returns:
- An appropriately instantiated entity.
-
instantiate
public final Object instantiate()
Deprecated.Description copied from interface:Instantiator
Perform the requested instantiation.- Specified by:
instantiate
in interfaceInstantiator
- Returns:
- The instantiated data structure.
-
isInstance
public final boolean isInstance(Object object)
Deprecated.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 interfaceInstantiator
- Parameters:
object
- The object to be checked.- Returns:
- True is the object does represent an instance of the underlying entity/component.
-
generateMap
protected Map generateMap()
Deprecated.
-
-