Package org.hibernate.metamodel.internal
Class EmbeddableCompositeUserTypeInstantiator
- java.lang.Object
-
- org.hibernate.metamodel.internal.EmbeddableCompositeUserTypeInstantiator
-
- All Implemented Interfaces:
EmbeddableInstantiator,Instantiator
public class EmbeddableCompositeUserTypeInstantiator extends Object implements EmbeddableInstantiator
-
-
Constructor Summary
Constructors Constructor Description EmbeddableCompositeUserTypeInstantiator(CompositeUserType<Object> userType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectinstantiate(ValueAccess valuesAccess, SessionFactoryImplementor sessionFactory)Create an instance of the embeddablebooleanisInstance(Object object, SessionFactoryImplementor sessionFactory)Performs and "instance of" check to see if the given object is an instance of managed structurebooleanisSameClass(Object object, SessionFactoryImplementor sessionFactory)
-
-
-
Constructor Detail
-
EmbeddableCompositeUserTypeInstantiator
public EmbeddableCompositeUserTypeInstantiator(CompositeUserType<Object> userType)
-
-
Method Detail
-
instantiate
public Object instantiate(ValueAccess valuesAccess, SessionFactoryImplementor sessionFactory)
Description copied from interface:EmbeddableInstantiatorCreate an instance of the embeddable- Specified by:
instantiatein interfaceEmbeddableInstantiator
-
isInstance
public boolean isInstance(Object object, SessionFactoryImplementor sessionFactory)
Description copied from interface:InstantiatorPerforms and "instance of" check to see if the given object is an instance of managed structure- Specified by:
isInstancein interfaceInstantiator- See Also:
Class.isInstance(java.lang.Object)
-
isSameClass
public boolean isSameClass(Object object, SessionFactoryImplementor sessionFactory)
- Specified by:
isSameClassin interfaceInstantiator- See Also:
Object.equals(java.lang.Object)
-
-