Good morning,
I am generating documentation with genDoc2 and I want to report on pre and post 
conditions of operations.
So, following the UML metamodel, assuming self is an operation, I write 
self.precondition and self.postcondition to access the two OCL constraints.
Even though the model I have contains OCL constraints, those two links are 
empty.
On the other end, the link self.ownedRule contains the right OCL constraints. 
Recall that self.precondition and self.postcondition subset self.ownedRule.
This is a bit annoying since in order to find the pre and post in the set of 
ownedRules, I need to look for string like "pre" and "post" in some of the 
ownedRule OCL specification strings.
Is this simply a problem with the metamodel used by Topcased?
Yvan.


_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/cgi-bin/mailman/listinfo/topcased-users

Reply via email to