Package org.hibernate.metamodel.internal
Class EmbeddableInstantiatorRecordIndirecting
- java.lang.Object
-
- org.hibernate.metamodel.internal.AbstractPojoInstantiator
-
- org.hibernate.metamodel.internal.EmbeddableInstantiatorRecordStandard
-
- org.hibernate.metamodel.internal.EmbeddableInstantiatorRecordIndirecting
-
- All Implemented Interfaces:
EmbeddableInstantiator
,Instantiator
public class EmbeddableInstantiatorRecordIndirecting extends EmbeddableInstantiatorRecordStandard
Support for instantiating embeddables as record representation
-
-
Field Summary
Fields Modifier and Type Field Description protected int[]
index
-
Fields inherited from class org.hibernate.metamodel.internal.EmbeddableInstantiatorRecordStandard
constructor
-
-
Constructor Summary
Constructors Constructor Description EmbeddableInstantiatorRecordIndirecting(Class<?> javaType, 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 EmbeddableInstantiatorRecordIndirecting
of(Class<?> javaType, String[] propertyNames)
-
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
-
-
-
-
Constructor Detail
-
EmbeddableInstantiatorRecordIndirecting
public EmbeddableInstantiatorRecordIndirecting(Class<?> javaType, int[] index)
-
-
Method Detail
-
of
public static EmbeddableInstantiatorRecordIndirecting of(Class<?> javaType, String[] propertyNames)
-
instantiate
public Object instantiate(ValueAccess valuesAccess, SessionFactoryImplementor sessionFactory)
Description copied from interface:EmbeddableInstantiator
Create an instance of the embeddable- Specified by:
instantiate
in interfaceEmbeddableInstantiator
- Overrides:
instantiate
in classEmbeddableInstantiatorRecordStandard
-
-