当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
SessionImpl.CollectionEntry (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.impl
Class SessionImpl.CollectionEntry
java.lang.Object
net.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionImpl.CollectionEntry
public SessionImpl.CollectionEntry()
initSnapshot
public void initSnapshot(PersistentCollection collection,
CollectionPersister persister)
throws HibernateException
- Throws:
HibernateException
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