I�ve been searching for topics but I didnt see any conclusion about this interpratation of segment and flight, the interpration I�m working on right now is that segment = flight based ond the BDM and the topics I�ve read, do you guys agree with this interpration ? Thanks a lot in advance.
Hi Bruno, You are right... A segment IS EQUAL TO a flight. But a flight IS NOT EQUAL TO a segment. See, A Flight can go from A->B->C which is TWO segments A->B and B->C.
Bruno Taranta Arruda
posted 12 years ago
Thanks for the answer, but now I�m confuded, what I understand about your explanation is that a flight is composed with some segments, but this is not what the BDM says, it has a relation 1->1 Flight-Segment. Can you please clarify ? thanks again
SCJP - SCWCD - SCBCD - SCEA(Part 1)
posted 12 years ago
Hi Bruno, I did some google for Flight Segment:- Segment of a flight involving a stopover, change of aircraft, or change of airline. Also called flight segment. "http://www.businessdictionary.com/definition/flight-leg.html"
That means there is a flight which goes from A->B->c->d. But you may want to go to X from A so your flight plan(Itinerary) will be - A->B->X. Here A->B is a segment and B->X is another. That way you have ONE segment by ONE flight and another FLIGHT for another SEGMENT. For an itinerary, segment = flight.
Thanks Tanveer [ February 06, 2008: Message edited by: Tanveer Ahmad ]
I always found Segment -> Flight, Flight -> Equipment as controversial requirements. While the bad news is that they have multiple interpretations, the good news is that all these interpretations are treated by SUN as correct, provided we choose a particular interpretation and stick to it throughout the assignment. My interpretation was to choose Segment as a line-item in the Customer's itenary. In other words, Segment was defined as a trip to a destination that the customer wishes to travel. Meaning, if a customer wants to fly from NY to LA. NY-LA is treated as a segment. Note that NY-LA may have more than one Legs including either a Stopover(Intermediate flight stop, where the customer does not change the flight) or a Changeover(Intermediate flight stop, where the customer needs to get out of the flight to board another). Example, the flight from NY-LA may have a changeover flight at Atlanta. This still doesn't change my definition of Segment because LA is the destination that customer wishes to travel to and not Atlanta(See my definition above). So NY-LA is 1 segment which composes of 2 legs; NY-Atlanta and Atlanta-LA containing two different flights for each Legs(Since i mentioned it was a Changeover). My definition is consistent with Lufthansa Airlines (www.lufthansa.com) Finally, as i mentioned earlier still there are multiple interpretations. It is up to you to choose one interpretation and stick it throughout the assignment. I suggest you to pick any Airlines website of your choice and run through how the whole thing works and how different terminologies are interpreted. Its a must before starting the assignment. Remember to ensure that your Assumptions, BDOM and Class Diagrams are consistent with your definitions and you are good to go .
Sun Certified Enterprise Architect
IBM Certified Solution Designer - RUP 7.0
Call it 'Component' when others understand what you have coded
Call it 'Framework' when you don't understand what you have coded
posted 12 years ago
Another question I have is :- Say there is a flight (Flight number X321) that takes off from A goes to B then C and D => A->B->C->D. Now my question is -
Will the flight number be same for all the legs (or segment or whatever) be the same??
Or will there be a change of flight number and a new flight number is given for each leg (or segment or whatever)?
Here's my thinking: I believe you should start your BDM analysis with the Itinerary, because the Customer first gets the Itinerary not the Flight. So in the example you just proposed above, the Customer's Itinerary would consist of 3 segments: A->B, B->C, C->D. Each one would be given an individual Flight number. These associations might seem rather strange to us and might not necessarily be the common business practice in any real-life airline reservation systems. But that is an assignment we've been given, and I do not think we should attempt to read between the lines or make any other unwarranted assumptions. (And I suggest you forget about a "leg" because that concept is undefined here.)
Cheers, Marcus [ February 11, 2008: Message edited by: Marcus Jastrebowski ]
if each segment is assinged to particular flight then there must be one2one relation between them, is not it.. and each flight has 1 aircraft in summary the relations are
Customer2itineraries : ne2many (read it as one customer as multiple itnieraries) itineraray2Segments = one2many flight2segment= one2many (assuming the flight is origin to destination, each change over is one segment. Well the segment is a logical entity which holds data data of flight and seat info) so the segment2seat = one2one ( a meaning full, with out a seat there is no segment at all) flight2aircraft = one2many( logically valid) remember flight and segmement are logical entity, where are seat, aircraft physical by nature...
My suggestion: if you can make it work using original BDM, do that. I got marked down on changing the relationship's multiplicity. I doubt that the Grader will carefully read your assumptions even if you make the correct assumptions for the relationships, such as many-to-many. There is no many-to-many in original BDM.