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 Object
instantiate(ValueAccess valuesAccess, SessionFactoryImplementor sessionFactory)
Create an instance of the embeddableboolean
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
-
EmbeddableCompositeUserTypeInstantiator
public EmbeddableCompositeUserTypeInstantiator(CompositeUserType<Object> userType)
-
-
Method Detail
-
instantiate
public Object instantiate(ValueAccess valuesAccess, SessionFactoryImplementor sessionFactory)
Description copied from interface:EmbeddableInstantiator
Create an instance of the embeddable- Specified by:
instantiate
in interfaceEmbeddableInstantiator
-
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)
-
-