类 DynamicMapInstantiator
- java.lang.Object
-
- org.hibernate.tuple.DynamicMapInstantiator
-
- 所有已实现的接口:
Serializable,Instantiator
public class DynamicMapInstantiator extends Object implements Instantiator
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 DynamicMapInstantiator()DynamicMapInstantiator(PersistentClass mappingInfo)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected MapgenerateMap()Objectinstantiate()Perform the requested instantiation.Objectinstantiate(Serializable id)Perform the requested entity instantiation.booleanisInstance(Object object)Performs check to see if the given object is an instance of the entity or component which this Instantiator instantiates.
-
-
-
构造器详细资料
-
DynamicMapInstantiator
public DynamicMapInstantiator()
-
DynamicMapInstantiator
public DynamicMapInstantiator(PersistentClass mappingInfo)
-
-
方法详细资料
-
instantiate
public final Object instantiate(Serializable id)
从接口复制的说明:InstantiatorPerform the requested entity instantiation. This form is never called for component instantiation, only entity instantiation.- 指定者:
instantiate在接口中Instantiator- 参数:
id- The id of the entity to be instantiated.- 返回:
- An appropriately instantiated entity.
-
instantiate
public final Object instantiate()
从接口复制的说明:InstantiatorPerform the requested instantiation.- 指定者:
instantiate在接口中Instantiator- 返回:
- The instantiated data structure.
-
isInstance
public final boolean isInstance(Object object)
从接口复制的说明:InstantiatorPerforms check to see if the given object is an instance of the entity or component which this Instantiator instantiates.- 指定者:
isInstance在接口中Instantiator- 参数:
object- The object to be checked.- 返回:
- True is the object does represent an instance of the underlying entity/component.
-
generateMap
protected Map generateMap()
-
-