Data Modeling Essentials 2005 phần 4

loại trừ lẫn nhau, một tình trạng phổ biến hơn bạn có thể nghi ngờ. Chúng ta có thể cho biết điều này với một vòng cung độc quyền (hình ). Chúng tôi đã từng cảnh báo chống lại giới thiệu quá nhiều công ước bổ sung và các ký hiệu. Tuy nhiên, độc quyền cung là hữu ích, đủ để biện minh cho sự phức tạp thêm, và nó thậm chí còn được hỗ trợ bởi một số TRƯỜNG HỢP tools | 140 Chapter 4 Subtypes and Supertypes Figure Generalization of one-to-many relationships. are mutually exclusive a more common situation than you might suspect. We can indicatethis withanexclusivityarc Figure . We have previously warned against. tvomanyaddilional conventions end symbok. Howdver tye i-xalvsiviiy arc is vsefu ecough to justify tyuexira i fom -ds del yp As well es fughhg tin1 vpiaortumsic- lie gcncnsliyc le-lblionships thcexdu-sivity arc cvn pxteniialentitydaen cupxnty nivsin - tl3. we are prompted to Company. IsdivHual. Partoervlúp ry n Government ucdy. pc-ihaps to Taxpayer Figcre . We findlhaLweusedxdusiyitysscsquilefrF entìyởaringtlie modeling process. In some my i _L .tfeem l leiyrllly caaryLl itc final iiilhasmglc- iekhonstiip iatlic supertypy. Oscourte if coucCASEtoolboennot siippoi ixhe conenv tob and yoo . arc tf rtl - n sLitic inypr iy ewill non-div record tyvruln in s ippnrtsng pocumvntasiod. sNotably Oracle Designer from Oracle Corporation. UML tools we have reviewed support arcs but apparenilvoytybetween peins o rstativnnhip . Generalization of Relationships 141 Figure Diagramming convention for mutually exclusive relationships. Generalizing One-to-Many and Many-to-Many Rela tionships Our final example involves many-to-many relationships along with two one-to-many relationships see Figure on next. page . The generalization should O-fau h oDpions. bertypu need torocognize that ifyou mclndo-the lose therplzs rhai only onnem oyeecanfille sihenotdolma will gamlheabiiithtoboaaleio bsepn Figure Entity class generalization prompted by mutually exclusive relationships. 142 Chapter 4 Subtypes and Supertypes Figure Generalizing one-to-many and many-to-many .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
20    75    2    27-06-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.