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.Iterator
hasNext
in class Entity.ContainedObjectsIterator
public java.lang.Object next()
next
in interface java.util.Iterator
next
in class Entity.ContainedObjectsIterator
public void remove()
remove
in interface java.util.Iterator
remove
in class Entity.ContainedObjectsIterator