public class

DynamicMapInstantiator

extends Object
implements Instantiator
java.lang.Object
   ↳ org.hibernate.tuple.DynamicMapInstantiator

Summary

Constants
String KEY
Public Constructors
DynamicMapInstantiator()
DynamicMapInstantiator(PersistentClass mappingInfo)
Public Methods
final Object instantiate()
Perform the requested instantiation.
final Object instantiate(Serializable id)
Perform the requested entity instantiation.
final boolean isInstance(Object object)
Performs check to see if the given object is an instance of the entity or component which this Instantiator instantiates.
Protected Methods
Map generateMap()
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.hibernate.tuple.Instantiator

Constants

public static final String KEY

Constant Value: "$type$"

Public Constructors

public DynamicMapInstantiator ()

public DynamicMapInstantiator (PersistentClass mappingInfo)

Public Methods

public final Object instantiate ()

Perform the requested instantiation.

Returns
  • The instantiated data structure.

public final Object instantiate (Serializable id)

Perform the requested entity instantiation.

This form is never called for component instantiation, only entity instantiation.

Parameters
id The id of the entity to be instantiated.
Returns
  • An appropriately instantiated entity.

public final boolean isInstance (Object object)

Performs check to see if the given object is an instance of the entity or component which this Instantiator instantiates.

Parameters
object The object to be checked.
Returns
  • True is the object does represent an instance of the underlying entity/component.

Protected Methods

protected Map generateMap ()