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
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.
SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCEA
posted 11 years ago
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