FileDocCategorySizeDatePackage
Instantiator.javaAPI DocHibernate 3.2.51079Mon Jul 11 12:31:50 BST 2005org.hibernate.tuple

Instantiator

public interface Instantiator implements Serializable
Contract for implementors responsible for instantiating entity/component instances.
author
Steve Ebersole

Fields Summary
Constructors Summary
Methods Summary
public java.lang.Objectinstantiate(java.io.Serializable id)
Perform the requested entity instantiation.

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

param
id The id of the entity to be instantiated.
return
An appropriately instantiated entity.

public java.lang.Objectinstantiate()
Perform the requested instantiation.

return
The instantiated data structure.

public booleanisInstance(java.lang.Object object)
Performs check to see if the given object is an instance of the entity or component which this Instantiator instantiates.

param
object The object to be checked.
return
True is the object does respresent an instance of the underlying entity/component.