Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » tuple » entity » [javadoc | source]
org.hibernate.tuple.entity
abstract public class: AbstractEntityTuplizer [javadoc | source]
java.lang.Object
   org.hibernate.tuple.entity.AbstractEntityTuplizer

All Implemented Interfaces:
    EntityTuplizer

Direct Known Subclasses:
    Dom4jEntityTuplizer, DynamicMapEntityTuplizer, PojoEntityTuplizer

Support for tuplizers relating to entities.
Field Summary
protected final  Getter[] getters     
protected final  Setter[] setters     
protected final  int propertySpan     
protected final  boolean hasCustomAccessors     
Constructor:
 public AbstractEntityTuplizer(EntityMetamodel entityMetamodel,
    PersistentClass mappingInfo) 
    Constructs a new AbstractEntityTuplizer instance.
    Parameters:
    entityMetamodel - The "interpreted" information relating to the mapped entity.
    mappingInfo - The parsed "raw" mapping data relating to the given entity.
Method from org.hibernate.tuple.entity.AbstractEntityTuplizer Summary:
afterInitialize,   buildInstantiator,   buildPropertyGetter,   buildPropertySetter,   buildProxyFactory,   createProxy,   getComponentValue,   getEntityMetamodel,   getEntityMode,   getEntityName,   getFactory,   getIdentifier,   getInstantiator,   getPropertyValue,   getPropertyValue,   getPropertyValues,   getPropertyValuesToInsert,   getProxyFactory,   getSubclassEntityNames,   getVersion,   hasProxy,   hasUninitializedLazyProperties,   instantiate,   instantiate,   isInstance,   isLifecycleImplementor,   isValidatableImplementor,   resetIdentifier,   setIdentifier,   setPropertyValue,   setPropertyValue,   setPropertyValues,   shouldGetAllProperties,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.tuple.entity.AbstractEntityTuplizer Detail:
 public  void afterInitialize(Object entity,
    boolean lazyPropertiesAreUnfetched,
    SessionImplementor session) 
 abstract protected Instantiator buildInstantiator(PersistentClass mappingInfo)
    Build an appropriate Instantiator for the given mapped entity.
 abstract protected Getter buildPropertyGetter(Property mappedProperty,
    PersistentClass mappedEntity)
    Build an appropriate Getter for the given property.
 abstract protected Setter buildPropertySetter(Property mappedProperty,
    PersistentClass mappedEntity)
    Build an appropriate Setter for the given property.
 abstract protected ProxyFactory buildProxyFactory(PersistentClass mappingInfo,
    Getter idGetter,
    Setter idSetter)
    Build an appropriate ProxyFactory for the given mapped entity.
 public final Object createProxy(Serializable id,
    SessionImplementor session) throws HibernateException 
 protected Object getComponentValue(ComponentType type,
    Object component,
    String propertyPath) 
    Extract a component property value.
 protected final EntityMetamodel getEntityMetamodel() 
 abstract protected EntityMode getEntityMode()
    Return the entity-mode handled by this tuplizer instance.
 protected String getEntityName() 
    Retreives the defined entity-name for the tuplized entity.
 protected final SessionFactoryImplementor getFactory() 
 public Serializable getIdentifier(Object entity) throws HibernateException 
 protected final Instantiator getInstantiator() 
 public Object getPropertyValue(Object entity,
    int i) throws HibernateException 
 public Object getPropertyValue(Object entity,
    String propertyPath) throws HibernateException 
 public Object[] getPropertyValues(Object entity) throws HibernateException 
 public Object[] getPropertyValuesToInsert(Object entity,
    Map mergeMap,
    SessionImplementor session) throws HibernateException 
 protected final ProxyFactory getProxyFactory() 
 protected Set getSubclassEntityNames() 
    Retreives the defined entity-names for any subclasses defined for this entity.
 public Object getVersion(Object entity) throws HibernateException 
 public boolean hasProxy() 
 public boolean hasUninitializedLazyProperties(Object entity) 
 public final Object instantiate() throws HibernateException 
 public final Object instantiate(Serializable id) throws HibernateException 
 public final boolean isInstance(Object object) 
 public boolean isLifecycleImplementor() 
 public boolean isValidatableImplementor() 
 public  void resetIdentifier(Object entity,
    Serializable currentId,
    Object currentVersion) 
 public  void setIdentifier(Object entity,
    Serializable id) throws HibernateException 
 public  void setPropertyValue(Object entity,
    int i,
    Object value) throws HibernateException 
 public  void setPropertyValue(Object entity,
    String propertyName,
    Object value) throws HibernateException 
 public  void setPropertyValues(Object entity,
    Object[] values) throws HibernateException 
 protected boolean shouldGetAllProperties(Object entity) 
 public String toString()