protected class CompositeEntity.ContainedObjectsIterator extends Entity.ContainedObjectsIterator
| Constructor and Description |
|---|
ContainedObjectsIterator()
Create an iterator over all the contained objects, which
for CompositeEntities are attributes, ports, classes
entities, and relations.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Return true if the iteration has more elements.
|
java.lang.Object |
next()
Return the next element in the iteration.
|
void |
remove()
The remove() method is not supported because is is not
supported in NamedObj.ContainedObjectsIterator.remove().
|
public ContainedObjectsIterator()
public boolean hasNext()
hasNext in interface java.util.IteratorhasNext in class Entity.ContainedObjectsIteratorpublic java.lang.Object next()
next in interface java.util.Iteratornext in class Entity.ContainedObjectsIteratorpublic void remove()
remove in interface java.util.Iteratorremove in class Entity.ContainedObjectsIterator