org.hibernate.test.dynamicentity.tuplizer
Class MyEntityTuplizer

java.lang.Object
  extended by org.hibernate.tuple.entity.AbstractEntityTuplizer
      extended by org.hibernate.tuple.entity.PojoEntityTuplizer
          extended by org.hibernate.test.dynamicentity.tuplizer.MyEntityTuplizer
All Implemented Interfaces:
EntityTuplizer, Tuplizer

public class MyEntityTuplizer
extends PojoEntityTuplizer


Field Summary
 
Fields inherited from class org.hibernate.tuple.entity.AbstractEntityTuplizer
getters, hasCustomAccessors, propertySpan, setters
 
Constructor Summary
MyEntityTuplizer(EntityMetamodel entityMetamodel, PersistentClass mappedEntity)
           
 
Method Summary
protected  Instantiator buildInstantiator(PersistentClass persistentClass)
          Build an appropriate Instantiator for the given mapped entity.
protected  ProxyFactory buildProxyFactory(PersistentClass persistentClass, Getter idGetter, Setter idSetter)
          Build an appropriate ProxyFactory for the given mapped entity.
 
Methods inherited from class org.hibernate.tuple.entity.PojoEntityTuplizer
afterInitialize, buildInstantiator, buildPropertyGetter, buildPropertyGetter, buildPropertySetter, buildPropertySetter, buildProxyFactory, buildProxyFactoryInternal, buildProxyFactoryInternal, determineConcreteSubclassEntityName, getConcreteProxyClass, getEntityMode, getEntityNameResolvers, getMappedClass, getPropertyValues, getPropertyValuesToInsert, getPropertyValuesWithOptimizer, hasUninitializedLazyProperties, isInstrumented, isLifecycleImplementor, setPropertyValues, setPropertyValuesWithOptimizer
 
Methods inherited from class org.hibernate.tuple.entity.AbstractEntityTuplizer
createProxy, getComponentValue, getEntityMetamodel, getEntityName, getFactory, getGetter, getIdentifier, getIdentifier, getIdentifierGetter, getIdentifierMapperType, getInstantiator, getPropertyValue, getPropertyValue, getProxyFactory, getSubclassEntityNames, getVersion, getVersionGetter, hasProxy, instantiate, instantiate, instantiate, isInstance, resetIdentifier, resetIdentifier, setIdentifier, setIdentifier, setPropertyValue, setPropertyValue, shouldGetAllProperties, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MyEntityTuplizer

public MyEntityTuplizer(EntityMetamodel entityMetamodel,
                        PersistentClass mappedEntity)
Method Detail

buildInstantiator

protected Instantiator buildInstantiator(PersistentClass persistentClass)
Description copied from class: PojoEntityTuplizer
Build an appropriate Instantiator for the given mapped entity.

Overrides:
buildInstantiator in class PojoEntityTuplizer
Parameters:
persistentClass - The mapping information regarding the mapped entity.
Returns:
An appropriate Instantiator instance.

buildProxyFactory

protected ProxyFactory buildProxyFactory(PersistentClass persistentClass,
                                         Getter idGetter,
                                         Setter idSetter)
Description copied from class: PojoEntityTuplizer
Build an appropriate ProxyFactory for the given mapped entity.

Overrides:
buildProxyFactory in class PojoEntityTuplizer
Parameters:
persistentClass - 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.


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.