Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(State Chart Diagrams) Create a State Chart (State Machine) Diagram for the class Trip in the Lynch Coaches System, described below. Ensure that all diagram

image text in transcribed

image text in transcribed

(State Chart Diagrams) Create a State Chart (State Machine) Diagram for the class Trip in the Lynch Coaches System, described below. Ensure that all diagram elements are given appropriate labels. Lynch Coaches is a coach company, based near Dublin. They specialise in organising day trips to various destinations in the Irish countryside. Customers of Lynch Coaches include institutions, such as schools, nursing homes, etc. They hire coaches with drivers for trips, which are organised arranged especially for them Customers will typically request that a day Trip be arranged for them on a specific date (the number of coaches allocated to a trip depends on the member of seats required) In response to this request Lynch Coaches will check if the required coaches can be made available on that date. If the coaches are available, Lynch Cooches will allocate one or more coaches with drivers and arrange the Trip for the Customer. Customer should pay a deposit within 7 days of the arranged booking for the Trip, only then the Trip is confirmed. Customers are allowed to cancel a Trip before a deposit is paid (once Trip is arranged for them). They may cancel a trip even after the deposit is paid (once Trip is confirmed), however in this case, Lynch Coaches will retain the deposit. Either way, the trip cancellation step is recorded and must be deleted from the system 6 months after the cancellation took place. Customer should provide Full Payment to Lynch Coaches in the week before it takes place. Then the Trip is ready to start, and once completed - the Trip record should be deleted from the system 12 months after it was completed. Hint Hint: Weted and once completed - the Trip . Consider trips starting from an arranged state, where the company needs to check available coaches & drivers for the requested Trip. Once the Trip is arranged, it will go through several states until it is finally deleted by the system. Ensure that all diagram elements are given appropriate labels Identify mutation events relevant for the object--What affects the object? Group relevant events chronologicallyHow does a normal life look? Model states and transitionsWhich states are there? Add actions to the state chart diagram-What do objects do? Verify the state chart diagram-Is everything correct

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

Database Design Using Entity Relationship Diagrams

Authors: Sikha Saha Bagui, Richard Walsh Earp

3rd Edition

103201718X, 978-1032017181

More Books

Students also viewed these Databases questions

Question

What is the Definition for Third Normal Form?

Answered: 1 week ago

Question

Provide two examples of a One-To-Many relationship.

Answered: 1 week ago