Originally posted by Parag Bharambe:
Congrats Sri
Which UML tools you used? And what is the version of UML you used?
Originally posted by Vinays Singh:
1. Did you displayed the domain model classes in sequence diagram as entity bean or followed Cade's pattern and left them out ?
2. Did you had any architecture or the displayed complete nine yards ?
Originally posted by Jesse Jesse:
I think the 1:1 association between an Equipment and Flight is ok. My reasoning being a flight can only have one Equipment at a specific point in time but this does not stop a flight from having a different Equipment at a different time.
However if I change my model so a flight can have many segments(Seat reservations for a flight) then in my view - so far, this simplifies the model.
If a Flight can have many segments AND if a Flight can have only one Equipment associated with it at a time, then are you presuming that all segments in the Flight would be flown using the same equipment? The relationship between a Flight and multiple Segments would exist at the same point in time as the relationship between a Flight and Equipment - the Itinerary is not going to be updated mid-travel to reflect the changes in Equipment.
IF I agree with the assumption that a segment simply represents one take off and one landing (departure airport, arrival airport)that is qualified by a flight(flight no. price etc as travel terminology suggests and if I agree with the association between segment and flight as being one to one then this implies that a new class needs to be introduced between segment and itinerary to track a customers reservation for a particular segment including seat reservation etc.
I think this is more reasonable. BTW, I need to correct the original assumption I made - an Itinerary can have only 1 Departure and 1 optional Return. If you call each of these a "Reservation Line Item", then the association between Itinerary and Segment could be removed. If you compare the Prepare Itinerary and Change Itinerary use cases, you will see that the terms "flights" and "segments" have been used in a conflicting manner. Introducing a "Reservation Line Item" class seems to be the best way to go as far as I can tell.
Additionally, a Segment can indeed have many Flights (going by my earlier assumption of a Flight "qualifying" a Segment by Date, Time and Flight No.) because the same Segment is going to be used in multiple itineraries (by different Customers) for different Flights. The Segment would then have to be aware of all the Flights that are servicing it (obviously for searches to work).
Originally posted by Mark Cade:
Chapter 8 gives you the base of what you need in your solution. It should be expanded with narrative and any additional supporting documentation that would be needed to convey your architecture. Thanks for buying the book.
Originally posted by yamini nadella:
Hi Congratualtions.
Please let us know the links for
Ramu Meda's notes, SCEA in a Nutshell .