Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Implementation of constriants in UML models
Implementation of constriants in UML models [message #625990] Wed, 06 February 2008 09:21
Andy Carpenter is currently offline Andy CarpenterFriend
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
Previous Topic:[Announce] MDT UML2 2.2.0 I200802052200 is available
Next Topic:Getting stereotype's property values.
Goto Forum:
  


Current Time: Tue Apr 16 10:26:42 GMT 2024

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

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

Back to the top