org.apache.ojb.broker.accesslayer
Class PlainPrefetcher

java.lang.Object
  extended by org.apache.ojb.broker.accesslayer.BasePrefetcher
      extended by org.apache.ojb.broker.accesslayer.PlainPrefetcher
All Implemented Interfaces:
RelationshipPrefetcher

public class PlainPrefetcher
extends BasePrefetcher

Prefetcher for plain list of objects (no relations).

Version:
$Id: PlainPrefetcher.java 365232 2005-12-21 22:36:07Z tomdz $
Author:
Oleg Nitz

Constructor Summary
PlainPrefetcher(PersistenceBrokerImpl aBroker, java.lang.Class anItemClass)
           
 
Method Summary
 void prepareRelationshipSettings()
          Prepare the Relationship for prefetch (ie: disable auto-retrieve)
 void restoreRelationshipSettings()
          Restore the Relationship settings(ie: enable auto-retrieve)
 
Methods inherited from class org.apache.ojb.broker.accesslayer.BasePrefetcher
getItemClassDescriptor, getLimit, prefetchRelationship
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlainPrefetcher

public PlainPrefetcher(PersistenceBrokerImpl aBroker,
                       java.lang.Class anItemClass)
Method Detail

prepareRelationshipSettings

public void prepareRelationshipSettings()
Description copied from interface: RelationshipPrefetcher
Prepare the Relationship for prefetch (ie: disable auto-retrieve)


restoreRelationshipSettings

public void restoreRelationshipSettings()
Description copied from interface: RelationshipPrefetcher
Restore the Relationship settings(ie: enable auto-retrieve)



(C) 2002 - 2006 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