| org.hibernate.tuple.Instantiator
All known Subclasses: org.hibernate.tuple.DynamicMapInstantiator, org.hibernate.tuple.PojoInstantiator, org.hibernate.tuple.Dom4jInstantiator,
Instantiator | public interface Instantiator extends Serializable(Code) | | Contract for implementors responsible for instantiating entity/component instances.
author: Steve Ebersole |
Method Summary | |
public 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. | public Object | instantiate() Perform the requested instantiation.
The instantiated data structure. | public 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. |
instantiate | public Object instantiate(Serializable id)(Code) | | 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. An appropriately instantiated entity. |
instantiate | public Object instantiate()(Code) | | Perform the requested instantiation.
The instantiated data structure. |
isInstance | public boolean isInstance(Object object)(Code) | | 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. True is the object does respresent an instance of the underlyingentity/component. |
|
|