Package org.hibernate.metamodel.internal
Class AbstractPojoInstantiator
- java.lang.Object
-
- org.hibernate.metamodel.internal.AbstractPojoInstantiator
-
- All Implemented Interfaces:
Instantiator
- Direct Known Subclasses:
AbstractEntityInstantiatorPojo
,EmbeddableInstantiatorPojoIndirecting
,EmbeddableInstantiatorPojoOptimized
,EmbeddableInstantiatorPojoStandard
,EmbeddableInstantiatorRecordStandard
,PojoInstantiatorImpl
public abstract class AbstractPojoInstantiator extends Object implements Instantiator
Base support for POJO-based instantiation
-
-
Constructor Summary
Constructors Constructor Description AbstractPojoInstantiator(Class<?> mappedPojoClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>
getMappedPojoClass()
boolean
isAbstract()
boolean
isInstance(Object object, SessionFactoryImplementor sessionFactory)
Performs and "instance of" check to see if the given object is an instance of managed structureboolean
isSameClass(Object object, SessionFactoryImplementor sessionFactory)
-
-
-
Constructor Detail
-
AbstractPojoInstantiator
public AbstractPojoInstantiator(Class<?> mappedPojoClass)
-
-
Method Detail
-
getMappedPojoClass
public Class<?> getMappedPojoClass()
-
isAbstract
public boolean isAbstract()
-
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
- See Also:
Class.isInstance(java.lang.Object)
-
isSameClass
public boolean isSameClass(Object object, SessionFactoryImplementor sessionFactory)
- Specified by:
isSameClass
in interfaceInstantiator
- See Also:
Object.equals(java.lang.Object)
-
-