Question: this is a complete question! 0.. Consider the following class diagram that represents the relationships between people and articles. A person may be one of

 this is a complete question! 0.. Consider the following class diagram
this is a complete question!

0.. Consider the following class diagram that represents the relationships between people and articles. A person may be one of the authors or one of the reviewers of an article. Under certain conditions, a person may become a chief reviewer. Person -name: String review Article numberOfReviewed Articles: int -title: String isChief Reviewer: boolean author 0... +review(Article) Express the following in OCL. 1. An article must have at least one author. 2. A person cannot review an article co-authored by him. 3. A person cannot become chief reviewer unless he reviews at least twelve articles. 4. Post condition of the method Person: review(Article) 0..*

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!