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 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
-
EmbeddableInstantiatorProxied
public EmbeddableInstantiatorProxied(Class proxiedClass, Supplier<EmbeddableMappingType> embeddableMappingAccess, BasicProxyFactory factory)
-
-
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)
-
-