Profile OCL validation [message #627111] |
Wed, 29 October 2008 12:33 |
Alexandre Torres Messages: 139 Registered: July 2009 |
Senior Member |
|
|
Hi.
I'd like to know the best way to check a model that applies my profile
against ocl rules defined in my profile's stereotypes.
First, if there is a way to write the ocl rules (as specified in UML
itself), debug or test it in the Profile editor. Them, when I apply the
profile, if there is a way to make the validate action read my rules.
My current way of doing this now is as follows: I don't use OCL, and have
a ATL transformation checking the model. I would like to migrate that
logic to the profile itself, but need to know the current support for
doing that.
I want to know if things like 'self.<tagname>' can be written instead of
'getValue(Stereotype,tagname)' (I mean, M1...M2...M0...Mn... )
Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.05369 seconds