UML State Machine [message #524368] |
Wed, 31 March 2010 16:39 |
arise76 Messages: 15 Registered: March 2010 |
Junior Member |
|
|
Hi,
I do not know, the question is relevant to this forum or not. but with title It looks UML2. Any way here is my question:
I want to create UML state machine from a class diagram. Does it necessary that I must model all Operations of that class in a state machine.
Class A
+ Op1();
+Op2();
State Machine for Class A
0--> ready to start --> do something with Op1() -->completed task.
or
State Machine for Class A
0--> ready to start--> condition if a = 0 do something with Op1 else do something with op2() ---> completed task.
Do you think that first statemachine with one operation is incomplete and second one looks complete.
regards,
arise
|
|
|
Powered by
FUDForum. Page generated in 0.03001 seconds