Package org.hibernate.metamodel.internal
Class EmbeddableInstantiatorProxied
- java.lang.Object
-
- org.hibernate.metamodel.internal.EmbeddableInstantiatorProxied
-
- All Implemented Interfaces:
StandardEmbeddableInstantiator
,EmbeddableInstantiator
,Instantiator
public class EmbeddableInstantiatorProxied extends Object implements StandardEmbeddableInstantiator
EmbeddableInstantiator used for instantiating "proxies" of an embeddable.
-
-
Constructor Summary
Constructors Constructor Description EmbeddableInstantiatorProxied(Class proxiedClass, Supplier<EmbeddableMappingType> embeddableMappingAccess, BasicProxyFactory factory)
-
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
-
EmbeddableInstantiatorProxied
public EmbeddableInstantiatorProxied(Class proxiedClass, Supplier<EmbeddableMappingType> embeddableMappingAccess, BasicProxyFactory factory)
-
-
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)
-
-