|OCL expression updates [message #1295463]
||Mon, 14 April 2014 09:37
| Missing name Mising name
Registered: March 2011
Maybe I've not work enough with OCL API but....I've a "problem".
Note that I use Rational Software Modeler.
OCL is stored as a String so when I change the name of a property in a class (for example), when I load an OCL expression that use this property, my expression becomes invalid.
The reason is that OCL store the name of the property and not its internal ID.
So, if I'm right, don't you think that it could have been a good idea to store the ID of any meta-model element instead of its name. The OCL expression with the name will be built by the editor when necessary.
Note that I've created a basic SQL expression editor in for an UML profile and I store the ID so that the expressions becomes "renaming agnostic".
[Updated on: Mon, 14 April 2014 09:37]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.05220 seconds