We need an entry to tell us all about the current state
of a collection with respect to its persistent state
afterAction
public void afterAction(PersistentCollection collection)
Called after execution of an action
getCurrentKey
public Serializable getCurrentKey()
This is only available late during the flush
cycle
getKey
public Serializable getKey()
getLoadedKey
public Serializable getLoadedKey()
getLoadedPersister
public CollectionPersister getLoadedPersister()
This is only available late during the flush cycle
getOrphans
public Collection getOrphans(String entityName,
PersistentCollection collection)
throws HibernateException
Get the collection orphans (entities which were removed from the collection)
getRole
public String getRole()
getSnapshot
public Serializable getSnapshot()
isDorecreate
public boolean isDorecreate()
isDoremove
public boolean isDoremove()
isDoupdate
public boolean isDoupdate()
isIgnore
public boolean isIgnore()
isProcessed
public boolean isProcessed()
isReached
public boolean isReached()
setCurrentKey
public void setCurrentKey(Serializable currentKey)
setDorecreate
public void setDorecreate(boolean dorecreate)
setDoremove
public void setDoremove(boolean doremove)
setDoupdate
public void setDoupdate(boolean doupdate)
setProcessed
public void setProcessed(boolean processed)
setReached
public void setReached(boolean reached)
setRole
public void setRole(String role)
toString
public String toString()
wasDereferenced
public boolean wasDereferenced()