• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Flight Equipment relationship doubt

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

From the BDM I see that Flight and Equipment has a 1-1 relationship.

A Flight is traveled over one and only one aircraft (equipment). OK this is a sound requirement.

an specific Equipment only perform one Flight?

I'm thinking Flight as having both a departure and destination cities, this means that there must be a flight from departure A to destination B, and other flight from B to A (on the same aircraft), which makes this relationship one to many.

Am I missing something?

TIA,
Gabriel
 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think You should assume some things. For example You can assume that relationship Flight->Equipment becomes unidirectional and for every flight in the system, this flight is services by exactly one plane(equipment).

Or You can try and change BDOM (there are success stories of SCEA's who did that), or You can do anything else... just be sure to document it and be confident about Your assumptions and design.

Good luck
 
reply
    Bookmark Topic Watch Topic
  • New Topic