org.apache.ojb.broker.accesslayer
Class MtoNCollectionPrefetcher

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

public class MtoNCollectionPrefetcher
extends CollectionPrefetcher

Relationship Prefetcher for MtoN-Collections.

Version:
$Id: MtoNCollectionPrefetcher.java 365232 2005-12-21 22:36:07Z tomdz $
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 - 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