Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help me,about part II,Thanks

 
chao cai
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's segment,
if the "itinerary" like the "order"
Is the "segment" like the "order item"?
Or the segment just store the relationship between the citys and flight,if so I must add myself order item class.
I am pulzzed,help me
 
Giju George
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chao, you are guessing it right(well, according to me). I did not create any relationships b/w city and flight. Try to make the assignment as simple a possible, by addressing all the requirements.

HTH
 
chao cai
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I realy wanna use the segment like the OrderItem, make the segment object has two attributes(flight number and seat number),but the relationship between the segment and seat will become one to one, means if the customer order two seats of the same flight , the data will store in two segments
 
Steven Wong
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi chao,

why can't you store an arraylist of seats in segment? then u will not have the problem you mention.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic