|
|
|
|
Re: What is the best strategy to solve my Papyrus Model errors [message #856257 is a reply to message #856250] |
Wed, 25 April 2012 14:04 |
Alain Lavoie Messages: 82 Registered: April 2012 |
Member |
|
|
Thanks to all.
I do wish to make these errors disappear.
I wish to treat them, and correct my model.
What I understand, is that Papyrus make some constraint checking
and provide me with warnings.
Papyrus must of provided these errors based on ocl-like list of
assumptions.
Q1 - Is my guess correct ?
Q2 - If yes, where are these assumptions located, in the UML metamodel,
or based on Papyrus users experiences ?
Q3 - Are these errors subjected to make Papyrus unable to read the model
when restarting ?
Thanks in advance.
[Updated on: Wed, 25 April 2012 14:05] Report message to a moderator
|
|
|
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 Messages: 952 Registered: February 2011 |
Senior Member |
|
|
Quote:Papyrus must of provided these errors based on ocl-like list of
assumptions.
Yes ; the constraints have been extracted from the UML specification (I think, however, that not all of them are implemented).
Quote: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).
Quote: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.
Camille Letavernier
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07147 seconds