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

Direct Known Subclasses:
    OnLockVisitor, FlushVisitor, WrapVisitor, DirtyCollectionSearchVisitor, ProxyVisitor, EvictVisitor, OnUpdateVisitor, ReattachVisitor, OnReplicateVisitor

Abstract superclass of algorithms that walk a tree of property values of an entity, and perform specific functionality for collections, components and associated entities.
Constructor:
 AbstractVisitor(EventSource session) 
Method from org.hibernate.event.def.AbstractVisitor Summary:
getSession,   includeEntityProperty,   includeProperty,   process,   processCollection,   processComponent,   processEntity,   processEntityPropertyValues,   processValue,   processValue,   processValues
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.event.def.AbstractVisitor Detail:
 final EventSource getSession() 
 boolean includeEntityProperty(Object[] values,
    int i) 
 boolean includeProperty(Object[] values,
    int i) 
  void process(Object object,
    EntityPersister persister) throws HibernateException 
    Walk the tree starting from the given entity.
 Object processCollection(Object collection,
    CollectionType type) throws HibernateException 
    Visit a collection. Default superclass implementation is a no-op.
 Object processComponent(Object component,
    AbstractComponentType componentType) throws HibernateException 
    Visit a component. Dispatch each property to processValue().
 Object processEntity(Object value,
    EntityType entityType) throws HibernateException 
    Visit a many-to-one or one-to-one associated entity. Default superclass implementation is a no-op.
 public  void processEntityPropertyValues(Object[] values,
    Type[] types) throws HibernateException 
    Dispatch each property value to processValue().
 final Object processValue(Object value,
    Type type) throws HibernateException 
    Visit a property value. Dispatch to the correct handler for the property type.
  void processValue(int i,
    Object[] values,
    Type[] types) 
  void processValues(Object[] values,
    Type[] types) throws HibernateException 
    Dispatch each property value to processValue().