DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Multiple Parent/Single Child UML Modeling Question

  1. #1
    Kevin Guest

    Multiple Parent/Single Child UML Modeling Question


    Hello,

    I have a question regarding the multiplicity setting. If I have a child Address
    object that holds data for multiple parents, like Customer, Vendor, etc.
    What is the multiplicity setting of the Parent?

    Assume that an Address cannot exist without a Parent. In that case, a multiplicity
    setting of 0 on all parents would seem to mean that an Address can exist
    without a parent. I think the multiplicity setting should be 1. Arguements
    against that say that would mean that there has to be a record in each parent
    table for every address record, which it not the case either, the Customer
    parent would only point to customer related address records, not all address
    records.

    What is correct?

    Thanks,
    Kevin


  2. #2
    elliferg Guest

    Re: Multiple Parent/Single Child UML Modeling Question


    have you thought about creating a stereotype?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center