Package org.hibernate.metamodel.internal
Class EntityInstantiatorDynamicMap
- java.lang.Object
-
- org.hibernate.metamodel.internal.AbstractDynamicMapInstantiator
-
- org.hibernate.metamodel.internal.EntityInstantiatorDynamicMap
-
- All Implemented Interfaces:
EntityInstantiator
,Instantiator
public class EntityInstantiatorDynamicMap extends AbstractDynamicMapInstantiator implements EntityInstantiator
Support for instantiating entity values as dynamic-map representation
-
-
Field Summary
Fields Modifier and Type Field Description static EntityNameResolver
ENTITY_NAME_RESOLVER
-
Fields inherited from class org.hibernate.metamodel.internal.AbstractDynamicMapInstantiator
TYPE_KEY
-
-
Constructor Summary
Constructors Constructor Description EntityInstantiatorDynamicMap(PersistentClass bootDescriptor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
extractEmbeddedEntityName(Map<?,?> entity)
Object
instantiate(SessionFactoryImplementor sessionFactory)
Create an instance of managed entityprotected boolean
isSameRole(String type)
-
Methods inherited from class org.hibernate.metamodel.internal.AbstractDynamicMapInstantiator
generateDataMap, getRoleName, 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.EntityInstantiator
canBeInstantiated
-
Methods inherited from interface org.hibernate.metamodel.spi.Instantiator
isInstance, isSameClass
-
-
-
-
Field Detail
-
ENTITY_NAME_RESOLVER
public static final EntityNameResolver ENTITY_NAME_RESOLVER
-
-
Constructor Detail
-
EntityInstantiatorDynamicMap
public EntityInstantiatorDynamicMap(PersistentClass bootDescriptor)
-
-
Method Detail
-
instantiate
public Object instantiate(SessionFactoryImplementor sessionFactory)
Description copied from interface:EntityInstantiator
Create an instance of managed entity- Specified by:
instantiate
in interfaceEntityInstantiator
-
isSameRole
protected boolean isSameRole(String type)
- Overrides:
isSameRole
in classAbstractDynamicMapInstantiator
-
-