Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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:
A journal must have at least three contributors.
A person cannot edit a journal to which he contributes.
A person cannot become chief editor unless he edits at least five journals.
Post condition of the method Person::editJournal
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started