Question: Consider the following class diagram that represents the relationships between people and journals. A person may be one of the contributors or one of the

Consider the following class diagram that represents the relationships between people and journals. A person may be one of the contributors or one of the editors of a journal. Under certain conditions, a person may become a chief editor.
Express the following in OCL:
1- A journal must have at least three contributors.
2- A person cannot edit a journal to which he contributes.
3-A person cannot become chief editor unless he edits at least five journals.
4-Post condition of the method Person::edit(Journal)
 Consider the following class diagram that represents the relationships between people

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!