|Re: What is the best strategy to solve my Papyrus Model errors [message #856276 is a reply to message #856257]
||Wed, 25 April 2012 14:20
| Camille Letavernier
Registered: February 2011
Papyrus must of provided these errors based on ocl-like list of
Yes ; the constraints have been extracted from the UML specification (I think, however, that not all of them are implemented).
If yes, where are these assumptions located, in the UML metamodel,
of based on Papyrus users experiences ?
The constraints are specified in the UML spec, and implemented in the org.eclipse.uml2.uml plug-in (org.eclipse.uml2.uml.util.UMLValidator).
Q3 - Are these errors subjected to make Papyrus unable to read the model
when restarting ?
Probably not ; the UML validation is strictly semantic. Saving a model with validation errors shouldn't be a problem. However, the validator can sometimes detect errors which are not semantic (e.g. a reference to another UML Model which doesn't exist anymore). This is not a UML error, but the validator may detect it, and it may prevent you from opening the diagram in some cases.
Powered by FUDForum
. Page generated in 0.01924 seconds