|Re: Is aspect-oriented modelling possible in papyrus? [message #1741996 is a reply to message #1739953]
||Sat, 06 August 2016 10:40
| Ed Willink
Registered: July 2009
If you have many constraints, UML tools are not that helpful.
You are probably better to structure as:
- a structural UML state machine
- a Complete OCL document for each aspect
This should allow you to read/edit all the text for an aspect in a
single window without the compromises of UML Constraint widgets. (Having
to use both *.uml and *.ocl source files is inconvenient, but if you
want aspects, it is perhaps more convenient.)
Alternatively you could use Package merge so that you use a separate
merged state machine diagram for each aspect. (I'm not certain that the
Package merge tooling works for states.)
On 05/08/2016 22:51, Syed Samsul Arefin wrote:
> Hello, I am new in papyrus modelling. I am wondering how to do
> aspect-oriented modelling in papyrus state machine. I have some state
> machine. where each state has it's own state invariant. Apart from this,
> there is a number of constraints that act as state invariant in multiple
> states. So, adding all of those constraints as state invariant in each
> of those states would make the state machine more complex and messy.
> Probably, aspect-oriented modelling is a better option in this scenario.
> So, a single constraint can be added to the state invariant of states of
> the same aspect. i.e., the complete state invariant of a state would be
> its own state invariant and the constraint from the aspect. Is this
> possible in papyrus? Any idea how to do this? Any suggestion? Thank you.
This email has been checked for viruses by Avast antivirus software.
Powered by FUDForum
. Page generated in 0.02228 seconds