Class and State Machine Diagrams [message #625416] |
Mon, 11 January 2010 18:43 |
No real name Messages: 14 Registered: December 2009 |
Junior Member |
|
|
Hi NG,
I tried to generate java code from a state machine diagram. I've already
created an ECore Class (name = SessionDAO) within a class diagram.
Genmodel conversion tells me now, that it wouldn't be possible to create
the state machine (name = SessionDAO) with the same name, because "There
may not be two classifiers with the same name". Is this somehow
possible? Because I want to model operations and properties of the same
class in a class diagram and the state behavior in a state machine
diagram. Or is this just possible by defining the state machine in EMF,
stereotype it as eClass and insert operations/properties in the *.uml
file? Using the last alternative doesn't allow me to modify the
declaration within the class diagram (or I didn't find out how,
respectively).
Thanks for your help!
Greets
|
|
|
Powered by
FUDForum. Page generated in 0.01673 seconds