org.apache.ojb.broker.accesslayer
Class RelationshipPrefetcherImpl

java.lang.Object
  extended by org.apache.ojb.broker.accesslayer.BasePrefetcher
      extended by org.apache.ojb.broker.accesslayer.RelationshipPrefetcherImpl
All Implemented Interfaces:
RelationshipPrefetcher
Direct Known Subclasses:
CollectionPrefetcher, ReferencePrefetcher

public abstract class RelationshipPrefetcherImpl
extends BasePrefetcher

Abstract Relationship Prefetchers. Each Prefetcher handles a single Relationship (1:1 or 1:n)

Version:
$Id: RelationshipPrefetcherImpl.java 365232 2005-12-21 22:36:07Z tomdz $
Author:
Jakob Braeuchi

Constructor Summary
RelationshipPrefetcherImpl(PersistenceBrokerImpl aBroker, ObjectReferenceDescriptor anOrd)
          Constructor for RelationshipPrefetcherImpl.
 
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

RelationshipPrefetcherImpl

public RelationshipPrefetcherImpl(PersistenceBrokerImpl aBroker,
                                  ObjectReferenceDescriptor anOrd)
Constructor for RelationshipPrefetcherImpl.

Method Detail

prepareRelationshipSettings

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

See Also:
RelationshipPrefetcher.prepareRelationshipSettings()

restoreRelationshipSettings

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

See Also:
RelationshipPrefetcher.restoreRelationshipSettings()


(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