Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Opaque specification of an operation's behaviour
Opaque specification of an operation's behaviour [message #626166] Mon, 10 March 2008 18:13
Felix Dorner is currently offline Felix Dorner
Messages: 676
Registered: July 2009
Senior Member
Hey,

I am designing a small Action Language that can be used to specify the
behaviour of the operations in a class model. I am looking for good ways
to link the textual specification of an operation to the operation in
the model.

After some reading, I think the preferred way to do this, is to create
an OpaqueBehaviour for every operation I'd like to specify in my language.

One thing is however disturbing: Every Parameter of the Operation must
be created twice. One owned by the Operation, and the other owned by the
OpaqueBehaviour.

I don't see the point in that. Could't this association be "derived", or
even completely ommited from the metamodel, or are there any reasons why
there is the need for this data to be specified with such a redundancy?

Felix
Previous Topic:Aggregation
Next Topic:Opaque specification of an operation's behaviour
Goto Forum:
  


Current Time: Wed Oct 01 10:35:18 GMT 2014

Powered by FUDForum. Page generated in 0.11011 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software