org.nakedobjects.runtime.persistence.adaptermanager
Class AggregateAdapters
java.lang.Object
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>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AggregateAdapters
public AggregateAdapters(NakedObject rootAdapter)
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.