Can anybody write me please OCL contraint for UML2, that allows dependency connection between two business goals (class with stereotype business goal) or association between business goal and problem (class with stereotype problem) ?
I found something similar, but is only works for UML 1.4 :(
context Business Goal inv Dependencies:
(c.oclIsKindOf (Class) and c.stereotype = "BusinessGoal") or
(c.oclIsKindOf (Class) and c.stereotype = "Problem")) and
(s.oclIsKindOf (Class) and s.stereotype = "BusinessGoal")))
thank you very much
Received on Tue 09 May 2006 - 23:06:11 BST