org.hibernate.test.annotations.tuplizer
Class DynamicEntityTuplizer
java.lang.Object
org.hibernate.tuple.entity.AbstractEntityTuplizer
org.hibernate.tuple.entity.PojoEntityTuplizer
org.hibernate.test.annotations.tuplizer.DynamicEntityTuplizer
- All Implemented Interfaces:
- EntityTuplizer, Tuplizer
public class DynamicEntityTuplizer
- extends PojoEntityTuplizer
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 |
DynamicEntityTuplizer
public DynamicEntityTuplizer(EntityMetamodel entityMetamodel,
PersistentClass mappedEntity)
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.