Implementation of constriants in UML models [message #625990] |
Wed, 06 February 2008 09:21 |
Andy Carpenter Messages: 145 Registered: July 2009 |
Senior Member |
|
|
I have some constraints in my UML model. When I run
uml2emf these appear in the ecore model as operations
without the details of the constraint expression in the model.
I'd like to use the techniques described in
<a
href=" http://www.eclipse.org/articles/article.php?file=Article-EMF -Codegen-with-OCL/index.html">Implementing
Model Integrity in EMF with MDT OCL</a> to generate
the implementation of these constraints. The article does
not indicate how to added constraints to a UML model. However,
what it does show is that it expects constraints to occur as
annotations in the ecore model. So, how can I get the
constraints in my UML model transferred to annotations in the
ecore model in a form that can be used to generate an
implementation of them?
thanks
Andy.
--
-- ------------------------------------------------------------ -------------
Dr Andy Carpenter
School of Computer Science,
University of Manchester, Manchester M13 9PL, UK
Email: Andy.Carpenter@manchester.ac.uk
Tel: +44 161 275 6168
Fax: +44 161 275 6280
|
|
|
Powered by
FUDForum. Page generated in 0.02754 seconds