Association Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AlarV
    New Member
    • Dec 2008
    • 37

    Association Problem

    Hello again everyone!

    I'm creating a project in Java for a university lesson, by using UML Diagrams. To generally give you an idea of the project, I have to create a Property Office, that has as objects Houses,Owners(o f the houses), and a registry that keeps the history of the past and current owners of a house. I'm confused with the associations that I am to create.
    Here is the class diagram:


    1)Is this correct?


    2) By creating the association how do I link a house to its owner and the opposite? And if an owner has a percent of one house (e.g. 50% property with another owner) how do I state this in the UML diagram or the program?

    Thanks!
    Last edited by Frinavale; Jan 5 '10, 02:58 PM. Reason: Moved from Java to Software Development
Working...