public class

DynamicMapEntityTuplizer

extends AbstractEntityTuplizer
java.lang.Object
   ↳ org.hibernate.tuple.entity.AbstractEntityTuplizer
     ↳ org.hibernate.tuple.entity.DynamicMapEntityTuplizer

Class Overview

An EntityTuplizer specific to the dynamic-map entity mode.

Summary

Nested Classes
class DynamicMapEntityTuplizer.BasicEntityNameResolver  
[Expand]
Inherited Fields
From class org.hibernate.tuple.entity.AbstractEntityTuplizer
Public Methods
String determineConcreteSubclassEntityName(Object entityInstance, SessionFactoryImplementor factory)
static String extractEmbeddedEntityName(Map entity)
Class getConcreteProxyClass()
EntityMode getEntityMode()
EntityNameResolver[] getEntityNameResolvers()
Class getMappedClass()
boolean isInstrumented()
Protected Methods
Instantiator buildInstantiator(PersistentClass mappingInfo)
Build an appropriate Instantiator for the given mapped entity.
Getter buildPropertyGetter(Property mappedProperty, PersistentClass mappedEntity)
Build an appropriate Getter for the given property.
Setter buildPropertySetter(Property mappedProperty, PersistentClass mappedEntity)
Build an appropriate Setter for the given property.
ProxyFactory buildProxyFactory(PersistentClass mappingInfo, Getter idGetter, Setter idSetter)
Build an appropriate ProxyFactory for the given mapped entity.
[Expand]
Inherited Methods
From class org.hibernate.tuple.entity.AbstractEntityTuplizer
From class java.lang.Object
From interface org.hibernate.tuple.Tuplizer
From interface org.hibernate.tuple.entity.EntityTuplizer

Public Methods

public String determineConcreteSubclassEntityName (Object entityInstance, SessionFactoryImplementor factory)

public static String extractEmbeddedEntityName (Map entity)

public Class getConcreteProxyClass ()

public EntityMode getEntityMode ()

public EntityNameResolver[] getEntityNameResolvers ()

public Class getMappedClass ()

public boolean isInstrumented ()

Protected Methods

protected Instantiator buildInstantiator (PersistentClass mappingInfo)

Build an appropriate Instantiator for the given mapped entity.

Parameters
mappingInfo The mapping information regarding the mapped entity.
Returns
  • An appropriate Instantiator instance.

protected Getter buildPropertyGetter (Property mappedProperty, PersistentClass mappedEntity)

Build an appropriate Getter for the given property.

Parameters
mappedProperty The property to be accessed via the built Getter.
mappedEntity The entity information regarding the mapped entity owning this property.
Returns
  • An appropriate Getter instance.

protected Setter buildPropertySetter (Property mappedProperty, PersistentClass mappedEntity)

Build an appropriate Setter for the given property.

Parameters
mappedProperty The property to be accessed via the built Setter.
mappedEntity The entity information regarding the mapped entity owning this property.
Returns
  • An appropriate Setter instance.

protected ProxyFactory buildProxyFactory (PersistentClass mappingInfo, Getter idGetter, Setter idSetter)

Build an appropriate ProxyFactory for the given mapped entity.

Parameters
mappingInfo The mapping information regarding the mapped entity.
idGetter The constructed Getter relating to the entity's id property.
idSetter The constructed Setter relating to the entity's id property.
Returns
  • An appropriate ProxyFactory instance.