Answered step by step
Verified Expert Solution
Link Copied!

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:
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)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Explain the difference between ordinary, capital, and 1231 assets.

Answered: 1 week ago