Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following accommodation booking scenario. Accommodations have a name, street and city. Hotels and Bed & Breakfasts are accommodations. Hotels have an extra

Consider the following accommodation booking scenario. Accommodations have a name, street and city. Hotels 

Consider the following accommodation booking scenario. Accommodations have a name, street and city. Hotels and Bed & Breakfasts are accommodations. Hotels have an extra category attribute. Accommodations consist of at least 1 room with a room number. Each room belongs to 1 accommodation. A room can be booked by no or many guests. A guest can book exactly 1 room. A guest is a person; each person has a name. An owner is also a person and owns at least one accommodation. An accommodation is owned by exactly 1 owner. Draw a UML Class Diagram that models above scenario. Specify classes, associations, attributes, roles and multiplicities where appropriate. You do not need to describe any methods.

Step by Step Solution

3.54 Rating (158 Votes )

There are 3 Steps involved in it

Step: 1

To create a UML Unified Modeling Language class diagram for the accommodation booking scenario described we need to consider the entities their attrib... 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

Microeconomics An Intuitive Approach with Calculus

Authors: Thomas Nechyba

1st edition

538453257, 978-0538453257

More Books

Students also viewed these Programming questions