java.lang.Object
org.hibernate.test.dynamicentity.tuplizer.MyEntityInstantiator
- All Implemented Interfaces:
- org.hibernate.tuple.Instantiator, java.io.Serializable
- public class MyEntityInstantiator
- extends java.lang.Object
- implements org.hibernate.tuple.Instantiator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entityName
private final java.lang.String entityName
MyEntityInstantiator
public MyEntityInstantiator(java.lang.String entityName)
instantiate
public java.lang.Object instantiate(java.io.Serializable id)
- Description copied from interface:
org.hibernate.tuple.Instantiator
- Perform the requested entity instantiation.
This form is never called for component instantiation, only entity instantiation.
- Specified by:
instantiate in interface org.hibernate.tuple.Instantiator
instantiate
public java.lang.Object instantiate()
- Description copied from interface:
org.hibernate.tuple.Instantiator
- Perform the requested instantiation.
- Specified by:
instantiate in interface org.hibernate.tuple.Instantiator
isInstance
public boolean isInstance(java.lang.Object object)
- Description copied from interface:
org.hibernate.tuple.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 interface org.hibernate.tuple.Instantiator