当前页面:
在线文档首页 >
Hibernate 2.1.8 正式版 API 英文文档
ODMGCollection (Hibernate API Documentation) - Hibernate 2.1.8 正式版 API 英文文档
net.sf.hibernate.collection
Class ODMGCollection
java.lang.Object
net.sf.hibernate.collection.PersistentCollection
net.sf.hibernate.collection.ODMGCollection
- All Implemented Interfaces:
- Collection, org.odmg.DCollection, Serializable
- Direct Known Subclasses:
- Bag, IdentifierBag, List, Set
- public abstract class ODMGCollection
- extends PersistentCollection
- implements org.odmg.DCollection
All Hibernate collections actually implement the ODMG DCollection
interface and are castable to that type. However, we don't recommend that
the object model be "polluted" by using this interface, unless the
application is using the ODMG API.
- Author:
- Gavin King
- See Also:
- Serialized Form
Methods inherited from class net.sf.hibernate.collection.PersistentCollection |
afterRowInsert, beforeInitialize, beginRead, delayedAddAll, disassemble, empty, endRead, entries, entryExists, equalsSnapshot, forceInitialization, getCollectionSnapshot, getDeletes, getIndex, getOrphans, getOrphans, getSession, getSnapshot, getSnapshot, getValue, hasQueuedAdditions, initialize, initializeFromCache, isDirectlyAccessible, isWrapper, needsInserting, needsRecreate, needsUpdating, postFlush, preInsert, queueAdd, queueAddAll, queuedAdditionIterator, read, readFrom, setCollectionSnapshot, setCurrentSession, setDirectlyAccessible, setInitialized, snapshot, unsetSession, wasInitialized, write, writeTo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Collection |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
ODMGCollection
public ODMGCollection(SessionImplementor session)
ODMGCollection
public ODMGCollection()
existsElement
public boolean existsElement(String queryString)
throws org.odmg.QueryInvalidException
- Specified by:
existsElement
in interface org.odmg.DCollection
- Throws:
org.odmg.QueryInvalidException
- See Also:
DCollection.existsElement(String)
query
public org.odmg.DCollection query(String queryString)
throws org.odmg.QueryInvalidException
- Specified by:
query
in interface org.odmg.DCollection
- Throws:
org.odmg.QueryInvalidException
- See Also:
DCollection.query(String)
select
public Iterator select(String queryString)
throws org.odmg.QueryInvalidException
- Specified by:
select
in interface org.odmg.DCollection
- Throws:
org.odmg.QueryInvalidException
- See Also:
DCollection.select(String)
selectElement
public Object selectElement(String queryString)
throws org.odmg.QueryInvalidException
- Specified by:
selectElement
in interface org.odmg.DCollection
- Throws:
org.odmg.QueryInvalidException
- See Also:
DCollection.selectElement(String)