Package org.hibernate.event.internal
Class WrapVisitor
- java.lang.Object
-
- org.hibernate.event.internal.AbstractVisitor
-
- org.hibernate.event.internal.ProxyVisitor
-
- org.hibernate.event.internal.WrapVisitor
-
public class WrapVisitor extends ProxyVisitor
Wrap collections in a Hibernate collection wrapper.
-
-
Constructor Summary
Constructors Constructor Description WrapVisitor(Object entity, Object id, EventSource session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isSubstitutionRequired()
void
process(Object object, EntityPersister persister)
Walk the tree starting from the given entity.protected Object
processCollection(Object collection, CollectionType collectionType)
protected Object
processComponent(Object component, CompositeType componentType)
protected void
processValue(int i, Object[] values, Type[] types)
-
Methods inherited from class org.hibernate.event.internal.ProxyVisitor
isOwnerUnchanged, reattachCollection
-
Methods inherited from class org.hibernate.event.internal.AbstractVisitor
getSession, processEntityPropertyValues
-
-
-
-
Constructor Detail
-
WrapVisitor
public WrapVisitor(Object entity, Object id, EventSource session)
-
-
Method Detail
-
isSubstitutionRequired
public boolean isSubstitutionRequired()
-
processCollection
protected Object processCollection(Object collection, CollectionType collectionType) throws HibernateException
- Throws:
HibernateException
-
processComponent
protected Object processComponent(Object component, CompositeType componentType) throws HibernateException
- Throws:
HibernateException
-
process
public void process(Object object, EntityPersister persister) throws HibernateException
Description copied from class:AbstractVisitor
Walk the tree starting from the given entity.- Overrides:
process
in classAbstractVisitor
- Throws:
HibernateException
-
-