|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ojb.broker.accesslayer.CollectionProxy
org.apache.ojb.broker.accesslayer.SetProxy
SetProxy.
A placeHolder for a whole set to support deferred loading of
relationships. The complete relationship is loaded on request.
| Field Summary |
| Fields inherited from interface org.apache.ojb.broker.ManageableCollection |
serialVersionUID |
| Constructor Summary | |
SetProxy(PBKey aKey,
java.lang.Class aCollClass,
Query aQuery)
Constructor for SetProxy. |
|
SetProxy(PBKey aKey,
Query aQuery)
Constructor for SetProxy. |
|
| Method Summary | |
protected java.util.Set |
getSetData()
|
protected java.util.Collection |
loadData()
loads the data from the database, if count(*) returned > 0 |
| Methods inherited from class org.apache.ojb.broker.accesslayer.CollectionProxy |
add, addAll, addListener, afterLoading, afterStore, beforeLoading, clear, contains, containsAll, getBroker, getBrokerKey, getCollectionClass, getData, getQuery, isEmpty, isLoaded, iterator, loadSize, ojbAdd, ojbAddAll, ojbIterator, releaseBroker, remove, removeAll, removeListener, retainAll, setBrokerKey, setCollectionClass, setData, setQuery, size, toArray, toArray |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Set |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
| Constructor Detail |
public SetProxy(PBKey aKey,
Query aQuery)
aKey - aQuery -
public SetProxy(PBKey aKey,
java.lang.Class aCollClass,
Query aQuery)
aKey - aCollClass - aQuery - | Method Detail |
protected java.util.Set getSetData()
protected java.util.Collection loadData()
throws PersistenceBrokerException
CollectionProxy
loadData in class CollectionProxyPersistenceBrokerExceptionCollectionProxy.loadData()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||