Book a Demo

Author Topic: When to add a property and when to associate  (Read 2933 times)

henke

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
When to add a property and when to associate
« on: September 14, 2004, 11:18:27 pm »
Hi!

When drawing a class diagram I either can add a property, lets say of MyPropertyClass or I can add a association to MyPropertyClass. What's the difference and when should I use either one of them?

Thanks!
/Henke

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: When to add a property and when to associate
« Reply #1 on: September 15, 2004, 12:17:04 am »
Depends on whether you want to show the property type class in that diagram.

hth
Bruce
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.