Package org.hibernate.metamodel.internal
Class AbstractEntityInstantiatorPojo
- java.lang.Object
-
- org.hibernate.metamodel.internal.AbstractPojoInstantiator
-
- org.hibernate.metamodel.internal.AbstractEntityInstantiatorPojo
-
- All Implemented Interfaces:
EntityInstantiator
,Instantiator
- Direct Known Subclasses:
EntityInstantiatorPojoOptimized
,EntityInstantiatorPojoStandard
public abstract class AbstractEntityInstantiatorPojo extends AbstractPojoInstantiator implements EntityInstantiator
Base support for instantiating entity values as POJO representation
-
-
Constructor Summary
Constructors Constructor Description AbstractEntityInstantiatorPojo(EntityMetamodel entityMetamodel, PersistentClass persistentClass, JavaType<?> javaType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Object
applyInterception(Object entity)
boolean
isInstance(Object object, SessionFactoryImplementor sessionFactory)
Performs and "instance of" check to see if the given object is an instance of managed structure-
Methods inherited from class org.hibernate.metamodel.internal.AbstractPojoInstantiator
getMappedPojoClass, isAbstract, isSameClass
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.metamodel.spi.EntityInstantiator
canBeInstantiated, instantiate
-
Methods inherited from interface org.hibernate.metamodel.spi.Instantiator
isSameClass
-
-
-
-
Constructor Detail
-
AbstractEntityInstantiatorPojo
public AbstractEntityInstantiatorPojo(EntityMetamodel entityMetamodel, PersistentClass persistentClass, JavaType<?> javaType)
-
-
Method Detail
-
isInstance
public boolean isInstance(Object object, SessionFactoryImplementor sessionFactory)
Description copied from interface:Instantiator
Performs and "instance of" check to see if the given object is an instance of managed structure- Specified by:
isInstance
in interfaceInstantiator
- Overrides:
isInstance
in classAbstractPojoInstantiator
- See Also:
Class.isInstance(java.lang.Object)
-
-