Relative Content

Tag Archive for ocl

How to get the total salary of an employee in OCL?

In the standard of OCL, https://www.omg.org/spec/OCL/2.4/PDF p. 7, an UML class diagram defines a class association between a Person and a Company called Job with a salary attribute. Cardinality is multiple on both sides (0..*).