• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Segment and Flight : Part II

 
Sudhansu Pati
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am sorry for staring a new thread. I have read discussions from some existing threads and have been doing some research on my own.
IMO, the segment and flight relationship is many to many. Here is an example.

Flight 203 : Starts from San Francisco(SFO), Stops at Los Angeles(LAX) and then continues to Dallas(DFW).

Segment 1 ( SFO to NYC ) can use flight 203 from SFO to LAX and flight 523 from LAX to NYC.

I fly at least 2-3 times every month for business and pretty familiar with the Airline Industry. If anyone disagree with my thoughts, please correct me.
 
Dhiren Joshi
Ranch Hand
Posts: 463
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IMO, the segment and flight relationship is many to many. Here is an example.

Flight 203 : Starts from San Francisco(SFO), Stops at Los Angeles(LAX) and then continues to Dallas(DFW).

Segment 1 ( SFO to NYC ) can use flight 203 from SFO to LAX and flight 523 from LAX to NYC.

I fly at least 2-3 times every month for business and pretty familiar with the Airline Industry. If anyone disagree with my thoughts, please correct me


Hint : Flight can be interpreted in other ways as well and the dependency then changes.

Read the prepared itinerary use case carefully. Also read alain hsiung Post

HTH
Dhiren
 
Sudhansu Pati
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Dhiren,

Thank you for your respone.

----------------------
Hint : Flight can be interpreted in other ways as well and the dependency then changes.
----------------------

The "Prepare Itinerary" post condition says
============================================
An unpaid customer itinerary that contains the city, flight number, date,time, and seat number for a departure flight;and city, flight number, date, time and seat number for return flight. It could also contain city, flight number, date, time and seat number for each leg of the light if a ley over is necessary.

I think my assumtion was wrong. The requirement is simpler than I thought. Looks like the FBN system diesn't allow to use multiple flights for a travel. If I am going from SFO to NYC, I must use the flight that goes from SFO to NYC, the flight may have layovers (multiple stops).

Hope I am correct now. If now, please let me know.
 
Dhiren Joshi
Ranch Hand
Posts: 463
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
U got that wrong at least from the assumption I have.

A stopover is not a layover since we are quoting text from assignment I will refrain from making any more detailed remarks lest we cross the sanity of discussions but again reitierate that flight has to be interpreted as Aliain Huisung stated.
HTH
Dhiren
 
Ian Roberts
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that there are two assumptions that can be made from the defined requirements and so long as you choice between the two and record why you decided on that approach you should be fine. There was a similar issue with contradictory requirements in the SCJD and Sun wanted you to make a decision and record it. I was still unsure of my SCJD decisions until I received a 93 percent pass because they could have gone one way or the other.

The "Prepare Itinerary" use case contradicts the Business Domain Model and therefore it is up to the student to decide on his/her approach and record the decision in the assumptions. Unless you go totally beyond the requirements, there is a choice of two approaches; multiple segments or an Object Model that realises that a segment could be a departure or return flight with an Itinerary consisting of a 1 to 1,2 Segment relationship.

Just my understanding!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic