|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.evelopers.unimod.validation.StructureVisitor
Builds map of attainable states for statemachines. Concrete statemachine is a key in this map and set of attainable states is a value.
Field Summary | |
protected java.util.Set |
attainableStates
Set of attainable states |
protected java.util.Set |
initialStateLess
Set of attainable composite states which have no initial states |
protected java.util.Set |
notRootMachinesWithEventProviders
Set of not root state machines that has associated event providers |
protected java.util.Map |
redundantInitStates
|
Constructor Summary | |
StructureVisitor()
Constructs visitor |
Method Summary | |
java.util.Set |
getAttainableStates()
|
java.util.Set |
getNoInitState()
Returns set of attainable composite states which have no initial states. |
java.util.Set |
getNotRootMachinesWithEventProviders()
|
java.util.Map |
getRedundantInitStates()
Returns map of attainable composite states which have more then one initial state. |
void |
visit(State state)
Visits states and builds set of attainable states. |
protected void |
visitIncludedStateMachines(State state)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Set attainableStates
protected java.util.Set initialStateLess
protected java.util.Map redundantInitStates
protected java.util.Set notRootMachinesWithEventProviders
Constructor Detail |
public StructureVisitor()
Method Detail |
public void visit(State state)
state
- state to visit.protected void visitIncludedStateMachines(State state)
public java.util.Set getNotRootMachinesWithEventProviders()
public java.util.Set getAttainableStates()
public java.util.Set getNoInitState()
public java.util.Map getRedundantInitStates()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |