public abstract class BasePrefetcher extends java.lang.Object implements RelationshipPrefetcher
Constructor and Description |
---|
BasePrefetcher(PersistenceBrokerImpl aBroker,
java.lang.Class anItemClass)
Constructor for BasePrefetcher.
|
Modifier and Type | Method and Description |
---|---|
ClassDescriptor |
getItemClassDescriptor()
Returns the ClassDescriptor of the item Class
|
int |
getLimit()
The limit of objects loaded by one SQL query
|
void |
prefetchRelationship(java.util.Collection owners)
Prefetch the Relationship for the owners (the 1 side of a 1:n)
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
prepareRelationshipSettings, restoreRelationshipSettings
public BasePrefetcher(PersistenceBrokerImpl aBroker, java.lang.Class anItemClass)
public int getLimit()
getLimit
in interface RelationshipPrefetcher
public void prefetchRelationship(java.util.Collection owners)
RelationshipPrefetcher
prefetchRelationship
in interface RelationshipPrefetcher
RelationshipPrefetcher.prefetchRelationship(Collection)
public ClassDescriptor getItemClassDescriptor()
getItemClassDescriptor
in interface RelationshipPrefetcher
(C) 2002 - 2005 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30