org.hibernate.engine
Interface CollectionSnapshot

All Superinterfaces:
Serializable
All Known Implementing Classes:
CollectionEntry

public interface CollectionSnapshot
extends Serializable

A "snapshot" of collection state. A PersistentCollection carries a snapshot of its state even when serialized and transported to another process. This allows us to track exactly which rows changed if the entity is passed to update().

Author:
Gavin King

Method Summary
 boolean getDirty()
           
 Serializable getKey()
           
 String getRole()
           
 Serializable getSnapshot()
           
 void setDirty()
           
 boolean wasDereferenced()
           
 

Method Detail

getKey

public Serializable getKey()

getRole

public String getRole()

getSnapshot

public Serializable getSnapshot()

getDirty

public boolean getDirty()

setDirty

public void setDirty()

wasDereferenced

public boolean wasDereferenced()