org.nakedobjects.runtime.persistence.adaptermanager
Class AggregateAdapters

java.lang.Object
  extended by org.nakedobjects.runtime.persistence.adaptermanager.AggregateAdapters
All Implemented Interfaces:
java.lang.Iterable<NakedObject>

public class AggregateAdapters
extends java.lang.Object
implements java.lang.Iterable<NakedObject>


Constructor Summary
AggregateAdapters(NakedObject rootAdapter)
           
 
Method Summary
 void addCollectionAdapter(OneToManyAssociation otma, NakedObject collectionAdapter)
           
 NakedObject getCollectionAdapter(OneToManyAssociation otma)
           
 java.util.Map<OneToManyAssociation,NakedObject> getCollectionAdapters()
           
 java.util.Set<OneToManyAssociation> getCollections()
           
 NakedObject getRootAdapter()
           
 java.util.Iterator<NakedObject> iterator()
          Iterate over the collection adapters (does not include the root adapter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregateAdapters

public AggregateAdapters(NakedObject rootAdapter)
Method Detail

getRootAdapter

public NakedObject getRootAdapter()

addCollectionAdapter

public void addCollectionAdapter(OneToManyAssociation otma,
                                 NakedObject collectionAdapter)

getCollectionAdapters

public java.util.Map<OneToManyAssociation,NakedObject> getCollectionAdapters()

iterator

public java.util.Iterator<NakedObject> iterator()
Iterate over the collection adapters (does not include the root adapter.

Specified by:
iterator in interface java.lang.Iterable<NakedObject>

getCollections

public java.util.Set<OneToManyAssociation> getCollections()

getCollectionAdapter

public NakedObject getCollectionAdapter(OneToManyAssociation otma)


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.