|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sei.aadl.model.util.SOMIterator
public final class SOMIterator
This iterator allows a user to iterate through different mode combinations of a modal system
Constructor Summary | |
---|---|
SOMIterator(SystemInstance si)
Create a new iterator over the system operation modes of the given system instance. |
Method Summary | |
---|---|
java.util.Map |
getSOMasModeBindings()
Return the current system operation mode as a mode bindings map suitable for use with ModalPropertyValue.getValue(Map) . |
boolean |
hasNext()
|
java.lang.Object |
next()
Get the next system operation mode and update the modal adapters to refer to it. |
SystemOperationMode |
nextSOM()
Get the next system operation mode and update the modal adapters to refer to it. |
void |
remove()
Remove is not supported. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SOMIterator(SystemInstance si)
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public SystemOperationMode nextSOM()
public java.util.Map getSOMasModeBindings()
ModalPropertyValue.getValue(Map)
.
public void remove()
remove
in interface java.util.Iterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |