Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering
Due at Friday, July 9nd, 23:59 |
---|
2 points |
---|
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.”
3+1 points |
---|
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.