|Due at Friday, July 9nd, 23:59|
Consider the following class diagram:
Specify the following invariant on the Employee class in OCL: “Employees are only associated with BusinessUnits which are part of the Organizations they work for.”
Take the association class example from lecture slide 27 and transform it Java source code. Make sure that the relationship ends are synchronized on either side when changes occur.
Is it easier to map an association class to Java Code or to a relational database? Explain your answer in one to three sentences.