org.apache.ojb.broker.accesslayer
Class MtoNCollectionPrefetcher

java.lang.Object
  extended byorg.apache.ojb.broker.accesslayer.BasePrefetcher
      extended byorg.apache.ojb.broker.accesslayer.RelationshipPrefetcherImpl
          extended byorg.apache.ojb.broker.accesslayer.CollectionPrefetcher
              extended byorg.apache.ojb.broker.accesslayer.MtoNCollectionPrefetcher
All Implemented Interfaces:
RelationshipPrefetcher

public class MtoNCollectionPrefetcher
extends CollectionPrefetcher

Relationship Prefetcher for MtoN-Collections.

Version:
$Id: MtoNCollectionPrefetcher.java,v 1.12.2.2 2004/12/04 10:00:43 brj Exp $
Author:
Jakob Braeuchi

Constructor Summary
MtoNCollectionPrefetcher(PersistenceBrokerImpl aBroker, ObjectReferenceDescriptor anOrd)
           
 
Method Summary
 void prefetchRelationship(java.util.Collection owners)
          Prefetch the Relationship for the owners (the 1 side of a 1:n)
 
Methods inherited from class org.apache.ojb.broker.accesslayer.RelationshipPrefetcherImpl
prepareRelationshipSettings, restoreRelationshipSettings
 
Methods inherited from class org.apache.ojb.broker.accesslayer.BasePrefetcher
getItemClassDescriptor, getLimit
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MtoNCollectionPrefetcher

public MtoNCollectionPrefetcher(PersistenceBrokerImpl aBroker,
                                ObjectReferenceDescriptor anOrd)
Parameters:
aBroker - the PersistenceBroker
anOrd - the CollectionDescriptor
Method Detail

prefetchRelationship

public void prefetchRelationship(java.util.Collection owners)
Description copied from interface: RelationshipPrefetcher
Prefetch the Relationship for the owners (the 1 side of a 1:n)

Specified by:
prefetchRelationship in interface RelationshipPrefetcher
Overrides:
prefetchRelationship in class BasePrefetcher
See Also:
RelationshipPrefetcher.prefetchRelationship(Collection)


(C) 2002 - 2004 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.3, 2005-04-2