0% found this document useful (0 votes)
46 views2 pages

Diagramy Klas

A warehouse has multiple storehouses that contain high racks organized into corridors. Each high rack has multiple floors and shelves that can hold up to 100 products. Products have different characteristics. Each storehouse has a manager and workers. Cranes within each high rack are operated by a single driver and computer. The class diagram shows the relationships between Warehouse, Storehouse, HighRack, Shelf, Product, Employee, Manager, Worker, Driver, and Computer.

Uploaded by

api-26356906
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views2 pages

Diagramy Klas

A warehouse has multiple storehouses that contain high racks organized into corridors. Each high rack has multiple floors and shelves that can hold up to 100 products. Products have different characteristics. Each storehouse has a manager and workers. Cranes within each high rack are operated by a single driver and computer. The class diagram shows the relationships between Warehouse, Storehouse, HighRack, Shelf, Product, Employee, Manager, Worker, Driver, and Computer.

Uploaded by

api-26356906
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Question 1

Draw a class diagram corresponding to the following description (cf. the question 2, from the previous
problem-sheet).
A typical warehouse consists of a number of storehouses, which have loading ramps in the outside.
Trucks drive to these ramps and are uploaded there. Storehouses contain several high racks grouped
into corridors; each of the racks has several floors. Each warehouse has a manager. Each storehouse is
served by some workers. Every rack is operated by a crane. Each crane is steered by one computer and
operated by one driver. The products can have different characteristics (e.g. burnable, toxic, acid, and
radioactive). Products which have different brands store at most 100 products per shelf.
Please analyse this text and draw an appropriate Class Diagram. This diagram should be detailed
enough to specify state of the warehouse: Which product is in which floor, who is working where and
so on. Please consider the difference between association and aggregation.

Question 1

Warehouse 1
Employee

*
*
Storehouse

Manager Worker Driver


1
1

*
High-Rack
1
0..1

Crane
*
1
Shelfe
*

Computer
*..100

Product
burnable
acid
radioactive
Question 2

You might also like