|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.argouml.model.uml.AbstractUmlModelFactory | +--org.argouml.model.uml.behavioralelements.statemachines.StateMachinesFactory
Factory to create UML classes for the UML BehaviorialElements::StateMachines package. MEvent and MStateVertex do not have create methods since they are abstract classes in the NSUML model.
Method Summary | |
---|---|
MCallEvent |
buildCallEvent()
Builds a callevent whose namespace (and therefore the ownership) is the rootmodel. |
MChangeEvent |
buildChangeEvent()
Builds a changeevent whose namespace (and therefore the ownership) is the rootmodel. |
MCompositeState |
buildCompositeState(MStateMachine statemachine)
Builds a compositestate as top for some statemachine |
MFinalState |
buildFinalState(java.lang.Object compositeState)
Builds a finalstate. |
MGuard |
buildGuard(java.lang.Object transition)
Builds a guard condition with a given transition. |
MTransition |
buildInternalTransition(java.lang.Object state)
Builds an internal transition for a given state. |
MPseudostate |
buildPseudoState(java.lang.Object compositeState)
Builds a pseudostate initialized as a branch pseudostate. |
MSignalEvent |
buildSignalEvent()
Builds a signalevent whose namespace (and therefore the ownership) is the rootmodel. |
MSimpleState |
buildSimpleState(java.lang.Object compositeState)
Builds a simplestate. |
MStateMachine |
buildStateMachine(java.lang.Object oContext)
Builds a state machine owned by the given context |
MStubState |
buildStubState(java.lang.Object compositeState)
Builds a stubstate initalized with an empty referenced state. |
MSubmachineState |
buildSubmachineState(java.lang.Object compositeState)
Builds a submachinestate. |
MSynchState |
buildSynchState(java.lang.Object compositeState)
Builds a synchstate initalized with bound 0. |
MTimeEvent |
buildTimeEvent()
Builds a timeevent whose namespace (and therefore the ownership) is the rootmodel. |
MTransition |
buildTransition(MCompositeState owningState,
MStateVertex source,
MStateVertex dest)
Builds a complete transition including all associations (composite state the transition belongs to, source the transition is coming from, destination the transition is going to). |
MTransition |
buildTransition(java.lang.Object source,
java.lang.Object target)
Build a transition between a source state and a target state. |
MCallEvent |
createCallEvent()
Create an empty but initialized instance of a UML CallEvent. |
MChangeEvent |
createChangeEvent()
Create an empty but initialized instance of a UML ChangeEvent. |
MCompositeState |
createCompositeState()
Create an empty but initialized instance of a UML CompositeState. |
MFinalState |
createFinalState()
Create an empty but initialized instance of a UML FinalState. |
MGuard |
createGuard()
Create an empty but initialized instance of a UML Guard. |
MPseudostate |
createPseudostate()
Create an empty but initialized instance of a UML Pseudostate. |
MSignalEvent |
createSignalEvent()
Create an empty but initialized instance of a UML SignalEvent. |
MSimpleState |
createSimpleState()
Create an empty but initialized instance of a UML SimpleState. |
MState |
createState()
Create an empty but initialized instance of a UML State. |
MStateMachine |
createStateMachine()
Create an empty but initialized instance of a UML StateMachine. |
MStubState |
createStubState()
Create an empty but initialized instance of a UML StubState. |
MSubmachineState |
createSubmachineState()
Create an empty but initialized instance of a UML SubmachineState. |
MSynchState |
createSynchState()
Create an empty but initialized instance of a UML SynchState. |
MTimeEvent |
createTimeEvent()
Create an empty but initialized instance of a UML TimeEvent. |
MTransition |
createTransition()
Create an empty but initialized instance of a UML Transition. |
void |
deleteCallEvent(MCallEvent elem)
|
void |
deleteChangeEvent(MChangeEvent elem)
|
void |
deleteCompositeState(MCompositeState elem)
deletes any associated subVertices. |
void |
deleteEvent(MEvent elem)
|
void |
deleteFinalState(MFinalState elem)
|
void |
deleteGuard(MGuard elem)
|
void |
deletePseudostate(MPseudostate elem)
|
void |
deleteSignalEvent(MSignalEvent elem)
|
void |
deleteSimpleState(MSimpleState elem)
|
void |
deleteState(MState elem)
|
void |
deleteStateMachine(MStateMachine elem)
deletes its top state, which is a composite state (state vertex). |
void |
deleteStateVertex(MStateVertex elem)
Deletes the outgoing and incoming transitions of a statevertex. |
void |
deleteStubState(MStubState elem)
|
void |
deleteSubmachineState(MSubmachineState elem)
|
void |
deleteSynchState(MSynchState elem)
|
void |
deleteTimeEvent(MTimeEvent elem)
|
void |
deleteTransition(MTransition elem)
|
static StateMachinesFactory |
getFactory()
Singleton instance access method. |
Methods inherited from class org.argouml.model.uml.AbstractUmlModelFactory |
---|
addListenersToModelElement, initialize, isGuiEnabled, setGuiEnabled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static StateMachinesFactory getFactory()
public MCallEvent createCallEvent()
public MChangeEvent createChangeEvent()
public MCompositeState createCompositeState()
public MFinalState createFinalState()
public MGuard createGuard()
public MPseudostate createPseudostate()
public MSignalEvent createSignalEvent()
public MSimpleState createSimpleState()
public MState createState()
public MStateMachine createStateMachine()
public MStubState createStubState()
public MSubmachineState createSubmachineState()
public MSynchState createSynchState()
public MTimeEvent createTimeEvent()
public MTransition createTransition()
public MCompositeState buildCompositeState(MStateMachine statemachine)
statemachine
-
public MStateMachine buildStateMachine(java.lang.Object oContext)
public MTransition buildTransition(MCompositeState owningState, MStateVertex source, MStateVertex dest)
owningState
- source
- dest
-
public MPseudostate buildPseudoState(java.lang.Object compositeState)
compositeState
-
public MSynchState buildSynchState(java.lang.Object compositeState)
compositeState
-
public MStubState buildStubState(java.lang.Object compositeState)
compositeState
-
public MSimpleState buildSimpleState(java.lang.Object compositeState)
compositeState
-
public MFinalState buildFinalState(java.lang.Object compositeState)
compositeState
-
public MSubmachineState buildSubmachineState(java.lang.Object compositeState)
compositeState
-
public MTransition buildInternalTransition(java.lang.Object state)
state
- The state the internal transition should belong to
public MTransition buildTransition(java.lang.Object source, java.lang.Object target)
source
- The source statetarget
- The target state
public MCallEvent buildCallEvent()
public MSignalEvent buildSignalEvent()
public MTimeEvent buildTimeEvent()
public MChangeEvent buildChangeEvent()
public MGuard buildGuard(java.lang.Object transition)
transition
- The transition that owns the resulting guard condition
public void deleteCallEvent(MCallEvent elem)
public void deleteChangeEvent(MChangeEvent elem)
public void deleteCompositeState(MCompositeState elem)
public void deleteEvent(MEvent elem)
public void deleteFinalState(MFinalState elem)
public void deleteGuard(MGuard elem)
public void deletePseudostate(MPseudostate elem)
public void deleteSignalEvent(MSignalEvent elem)
public void deleteSimpleState(MSimpleState elem)
public void deleteState(MState elem)
public void deleteStateMachine(MStateMachine elem)
public void deleteStateVertex(MStateVertex elem)
elem
- public void deleteStubState(MStubState elem)
public void deleteSubmachineState(MSubmachineState elem)
public void deleteSynchState(MSynchState elem)
public void deleteTimeEvent(MTimeEvent elem)
public void deleteTransition(MTransition elem)
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2003 (20040216) | ArgoUML Project Home | ArgoUML Cookbook |