• Post Reply Bookmark Topic Watch Topic
  • New Topic

Itinerary & segment

 
Phil Nerbis
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

One more topic on this endless subject. Is'nt anyone annoyed by the 1-1..* cardinality between itinerary and Segment ?
If "Segment" has a geographical meaning, should'nt it be 1..*-1..* ?

Regards
 
Pierrefoids samuel
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In our case :"segment represents a single flight as booked in the system".(an official definition of segment from a recognized travel association) it has the same semantic as a lineitem in an order.
Order--->lineitem--->product
Itinerary--->segment--->flight

Regards
Samuel
 
John Arau
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Pierrefoids.

But a flight still has multiple legs.
Because that's the typical meaning of airline flight, right?
Take a look at flight number 96 form American Airlines:
http://dps1.travelocity.com/dparflifo.ctl?aln_name=AA&flt_num=96
I should be able to buy just the San Francisco->Boston leg. not the entire flight n� 96.
Or flight n 195:
http://dps1.travelocity.com/dparflifo.ctl?aln_name=AA&flt_num=195

What do you guys think?
 
Pierrefoids samuel
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at an airline ticket: usually each coupon represents a booked flight. A flight is not identified par its number only. You should give an another definition to this term.

Regards
Samuel
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!