|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.argouml.model.uml.behavioralelements.statemachines.StateMachinesHelper
Helper class for UML BehavioralElements::StateMachines Package. Current implementation is a placeholder.
Field Summary | |
---|---|
private static StateMachinesHelper |
SINGLETON
Singleton instance. |
Constructor Summary | |
---|---|
private |
StateMachinesHelper()
Don't allow instantiation. |
Method Summary | |
---|---|
java.util.Collection |
getAllPossibleStatemachines(java.lang.Object oSubmachineState)
Returns all statemachines that can be the statemachine the given submachinestate represents. |
java.lang.Object |
getDestination(java.lang.Object 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. |
java.lang.Object |
getSource(java.lang.Object trans)
Returns the source of the given transition. |
MStateMachine |
getStateMachine(java.lang.Object oStateVertex)
Gets the statemachine that contains the given parameter oState. |
MState |
getTop(java.lang.Object 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 |
Field Detail |
private static StateMachinesHelper SINGLETON
Constructor Detail |
private StateMachinesHelper()
Method Detail |
public static StateMachinesHelper getHelper()
public java.lang.Object getSource(java.lang.Object trans)
trans
-
public java.lang.Object getDestination(java.lang.Object trans)
trans
-
public MStateMachine getStateMachine(java.lang.Object oStateVertex)
oStateVertex
- The state for which we want to know the
statemachine
public void setEventAsTrigger(java.lang.Object transition, java.lang.Object event)
transition
- 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 MState getTop(java.lang.Object sm)
public java.util.Collection getOutgoingStates(java.lang.Object ostatevertex)
ostatevertex
-
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20040306) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |