|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.argouml.model.uml.behavioralelements.statemachines.StateMachinesHelper
Helper class for UML BehavioralElements::StateMachines Package. Current implementation is a placeholder.
Method Summary | |
java.util.Collection |
getAllPossibleStatemachines(java.lang.Object oSubmachineState)
Returns all statemachines that can be the statemachine the given submachinestate represents. |
ru.novosoft.uml.behavior.state_machines.MStateVertex |
getDestination(ru.novosoft.uml.behavior.state_machines.MTransition trans)
Returns the destination of the given transition. |
static StateMachinesHelper |
getHelper()
Singleton instance access method. |
java.util.Collection |
getOutgoingStates(java.lang.Object ostatevertex)
Gets all statevertices that are a target to transitions outgoing from the given statevertex. |
ru.novosoft.uml.behavior.state_machines.MStateVertex |
getSource(ru.novosoft.uml.behavior.state_machines.MTransition trans)
Returns the source of the given transition. |
ru.novosoft.uml.behavior.state_machines.MStateMachine |
getStateMachine(java.lang.Object oStateVertex)
Gets the statemachine that contains the given parameter oState. |
ru.novosoft.uml.behavior.state_machines.MState |
getTop(ru.novosoft.uml.behavior.state_machines.MStateMachine sm)
|
boolean |
isAddingStatemachineAllowed(java.lang.Object context)
Returns true if a statemachine may be added to the given context. |
void |
setEventAsTrigger(java.lang.Object transition,
java.lang.Object event)
Couples a given event to the given transition as being trigger event. |
void |
setStatemachineAsSubmachine(java.lang.Object oSubmachineState,
java.lang.Object oStatemachine)
Connects a given statemachine to a submachinestate as being the statemachine the submachinestate represents. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static StateMachinesHelper getHelper()
public ru.novosoft.uml.behavior.state_machines.MStateVertex getSource(ru.novosoft.uml.behavior.state_machines.MTransition trans)
trans
-
public ru.novosoft.uml.behavior.state_machines.MStateVertex getDestination(ru.novosoft.uml.behavior.state_machines.MTransition trans)
trans
-
public ru.novosoft.uml.behavior.state_machines.MStateMachine getStateMachine(java.lang.Object oStateVertex)
public void setEventAsTrigger(java.lang.Object transition, java.lang.Object event)
public boolean isAddingStatemachineAllowed(java.lang.Object context)
context
-
public java.util.Collection getAllPossibleStatemachines(java.lang.Object oSubmachineState)
oSubmachineState
- The submachinestate we are searching the
statemachines for.
public void setStatemachineAsSubmachine(java.lang.Object oSubmachineState, java.lang.Object oStatemachine)
oSubmachineState
- The submachinestate for which we want to set the
property submachineoStatemachine
- The statemachinepublic ru.novosoft.uml.behavior.state_machines.MState getTop(ru.novosoft.uml.behavior.state_machines.MStateMachine sm)
public java.util.Collection getOutgoingStates(java.lang.Object ostatevertex)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2003 (20030829) | ArgoUML Project Home | ArgoUML Cookbook |