|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.progeeks.hibernate.MetaObjectInstantiator
public class MetaObjectInstantiator
Implemenation of Instantiator for a MetaObject. If the id used to instantiate the object is of type java.util.Map, we make the assumption that this must be a composite id.
| Constructor Summary | |
|---|---|
MetaObjectInstantiator(org.hibernate.tuple.EntityMetamodel entityMetamodel)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
instantiate()
Perform the requested instantiation (sans any id). |
java.lang.Object |
instantiate(java.io.Serializable id)
Perform the requested entity instantiation. |
boolean |
isInstance(java.lang.Object object)
Performs check to see if the given object is an instance of the entity which this Instantiator instantiates. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MetaObjectInstantiator(org.hibernate.tuple.EntityMetamodel entityMetamodel)
| Method Detail |
|---|
public java.lang.Object instantiate(java.io.Serializable id)
instantiate in interface org.hibernate.tuple.Instantiatorid - The id of the entity to be instantiated.
public java.lang.Object instantiate()
instantiate in interface org.hibernate.tuple.Instantiatorpublic boolean isInstance(java.lang.Object object)
isInstance in interface org.hibernate.tuple.Instantiatorobject - The object to be checked.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||