net.sf.hibernate.impl
Class SessionImpl.CollectionEntry

java.lang.Object
  extended bynet.sf.hibernate.impl.SessionImpl.CollectionEntry
All Implemented Interfaces:
CollectionSnapshot, Serializable
Enclosing class:
SessionImpl

public static final class SessionImpl.CollectionEntry
extends Object
implements CollectionSnapshot, Serializable

We need an entry to tell us all about the current state of a collection with respect to its persistent state

See Also:
Serialized Form

Method Summary
 boolean getDirty()
           
 Serializable getKey()
           
 String getRole()
           
 Serializable getSnapshot()
           
 boolean isNew()
           
 void setDirty()
           
 boolean snapshotIsEmpty()
           
 boolean wasDereferenced()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDirty

public boolean getDirty()
Specified by:
getDirty in interface CollectionSnapshot

getKey

public Serializable getKey()
Specified by:
getKey in interface CollectionSnapshot

getRole

public String getRole()
Specified by:
getRole in interface CollectionSnapshot

getSnapshot

public Serializable getSnapshot()
Specified by:
getSnapshot in interface CollectionSnapshot

snapshotIsEmpty

public boolean snapshotIsEmpty()

setDirty

public void setDirty()
Specified by:
setDirty in interface CollectionSnapshot

isNew

public boolean isNew()

wasDereferenced

public boolean wasDereferenced()
Specified by:
wasDereferenced in interface CollectionSnapshot