Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Implementation of (all) constraints - is it intended?
Implementation of (all) constraints - is it intended? [message #692808] Tue, 05 July 2011 05:25 Go to previous message
Kirsten M. Z. is currently offline Kirsten M. Z.
Messages: 106
Registered: July 2010
Senior Member
Hi @all,

I have a simple question: is there the intention to implement all constraints which can be found in the UML meta model? I saw that most constraints are defined according to the UML 2.x specification. Or rather, there are unimplemented constraints which have a documentation showing the OCL constraint from the UML specification. For example, an initial pseudostate may only have one outgoing transition. So the constraint is defined, documented, but the (generated) code has no implemented validation (Indigo release).

On the other hand, many other constraints are implemented (e.g. no two named elements with the same qualified name).

Therefore, I want to ask if there is a special reason why some constraints are not implemented, e.g. it would break old models which did not care about meticulous constraints, or too many implementations would interfere further development, it would become too slow, etc.

Or as alternative: generating code from the annotated OCL.
Maybe it is implemented already, but I have to use another branch/code generation?

Regards,
Kirsten
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:UML2 API vs UML metamodel
Next Topic:Supported UML versio in Indigo release
Goto Forum:
  


Current Time: Fri May 24 06:56:09 EDT 2013

Powered by FUDForum. Page generated in 0.02115 seconds