Похожие чаты

Hello guys, can someone help me with understanding this and

how to write the classes and its states and behaviours?

I will take care of the CODING myself, just want someone to help understanding how many classes I need to create in the UML. Also, how many states and behaviours in each class. If someone can help explain that, will appreciate it


A company rents out planes to private pilots. Bookings are made when a client reserves a plane for a specified date. Planes are picked up and dropped off at specified airports. This is usually done on the telephone. Planes can be booked for one (1) day only and are booked for the whole day.
The company would like to computerize their system. The company clerk will be entering information to a computer while speaking to a client on the telephone. The clerk will need to retrieve information (e.g. plane details, airport details, or client details if the clerk is dealing with an existing client) and create new bookings using the system. The clerk must be able to add, delete and update information on planes and airports. The clerk must also be able to add new clients as well as record new bookings and checking the availability of planes for specific dates.


You must come up with appropriate state (3 to 4 state values are acceptable) information for all classes involved. All collections must be shown as arrays.
Carry out an initial object-oriented design for the above specification, in which you should identify and show in a UML diagram:
• Classes that you think will be required.
• Their attributes and behaviours
• Any aggregation relationships
• Any other relationships between your classes
The UML Diagram should show all the information of the classes up to and including the coordinator class.

7 ответов

13 просмотров

Start with Accounts, Planes, Airports, Bookings. Then you figure out the attributes, behaviors, and relationships

Al- Автор вопроса
Ronny Gunawan ️
Start with Accounts, Planes, Airports, Bookings. T...

Okay so let me show you what I have got so far I'm confused with the attributes, and behaviours.

Al
Okay so let me show you what I have got so far I'm...

What are you confused about when it comes to attributes and behaviours?

Al- Автор вопроса
A X
What are you confused about when it comes to attri...

Okay so here I'm having difficulty with what should I have in the clerk class?

I think all you need are CRUD operations on Airport, Plane, Client, and Booking which includes a function to check the plane availability for specific dates which is basically a special Read operation on Plane.

Al
Okay so here I'm having difficulty with what shoul...

Based on the text you provided, I do not think you need a Clerk class and I wonder why you even added it in the first place.

Al- Автор вопроса
A X
Based on the text you provided, I do not think you...

Ah I see. Sorry I'm just a beginner, learning all this the first time

Похожие вопросы

Обсуждают сегодня

Ready for some fun AND a chance to win TKO Tokens? Join us for exciting minigames in our Telegram group! 🕒 Don’t miss out—games start on today 25 October 2024, at 8 PM! Ge...
Milkyway | Tokocrypto
255
Мужики и девушки, привет) в Вelphi xe7 в настройках во вкладке "Editor Options" далее " Color" есть список: "Elements", открыв который мы можем настраивать отображение разных...
Kraszx
14
is that okay?
Samurai 🇯🇵
21
Добрый вечер. Есть вопрос, а может и предложение. Был у меня диалог в другой группе о делфи и я задался вопросом: "А нельзя ли в делфи цвет //коментария и {комментария} сде...
Kraszx
24
How about the project bro Likes the community not that active ?
🅿️abby_FX
19
Всем привет! Подскажи, пожалуйста, как передать в TComboBox сразу значение и id записи. На Delphi я делал так: ComboBox1.Items.AddObject('Какое-то значение', Pointer(id запис...
Евгений
13
А вот это что за конструкция? Вернее, она тут нафига?
Serjone
10
Привет. Подскажите, как правильно сматчить лист фиксированного размера, чтобы компилятор не говорил мне о неполном паттерне? Допустим что-то такое [x', y'] = sort [x, y]?
Arseny
8
Мдя, прикол, боевая сборка запускается (именно под отладчиком) после F9 примерно полторы минуты (97 секунд если быть точным). Начал копать - проблема детектится сразу - зависа...
Александр (Rouse_) Багель
38
Is like having a company with great talents, early investors & workers who joined a company but saw that the vision was getting lost so they pushed for a change from within. T...
Randall Roland
2
Карта сайта