Package org.hibernate.metamodel.internal
Class EmbeddableInstantiatorPojoIndirecting
- java.lang.Object
-
- org.hibernate.metamodel.internal.AbstractPojoInstantiator
-
- org.hibernate.metamodel.internal.EmbeddableInstantiatorPojoIndirecting
-
- All Implemented Interfaces:
EmbeddableInstantiator
,Instantiator
public class EmbeddableInstantiatorPojoIndirecting extends AbstractPojoInstantiator implements EmbeddableInstantiator
Support for instantiating embeddables as POJO representation through a constructor
-
-
Field Summary
Fields Modifier and Type Field Description protected Constructor<?>
constructor
protected int[]
index
-
Constructor Summary
Constructors Modifier Constructor Description protected
EmbeddableInstantiatorPojoIndirecting(Constructor<?> constructor, int[] index)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
instantiate(ValueAccess valuesAccess, SessionFactoryImplementor sessionFactory)
Create an instance of the embeddablestatic EmbeddableInstantiatorPojoIndirecting
of(String[] propertyNames, Constructor<?> constructor, String[] componentNames)
-
Methods inherited from class org.hibernate.metamodel.internal.AbstractPojoInstantiator
getMappedPojoClass, isAbstract, isInstance, isSameClass
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.metamodel.spi.Instantiator
isInstance, isSameClass
-
-
-
-
Field Detail
-
constructor
protected final Constructor<?> constructor
-
index
protected final int[] index
-
-
Constructor Detail
-
EmbeddableInstantiatorPojoIndirecting
protected EmbeddableInstantiatorPojoIndirecting(Constructor<?> constructor, int[] index)
-
-
Method Detail
-
of
public static EmbeddableInstantiatorPojoIndirecting of(String[] propertyNames, Constructor<?> constructor, String[] componentNames)
-
instantiate
public Object instantiate(ValueAccess valuesAccess, SessionFactoryImplementor sessionFactory)
Description copied from interface:EmbeddableInstantiator
Create an instance of the embeddable- Specified by:
instantiate
in interfaceEmbeddableInstantiator
-
-