Book a Demo

Author Topic: Collection Classes issue  (Read 2850 times)

Tryst

  • EA User
  • **
  • Posts: 41
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Collection Classes issue
« on: January 10, 2005, 04:33:26 am »
Hi all,

I am having some problems in implementing collection classes in my Class diagram.

My situation is that I am modelling an Online Reporting System, and have a Class of type 'Report', where the report contains many columns. I have a class called 'Column', and also need a collection class called 'Columns' (I will also need a collection class called 'Reports' for that matter).

How do I actually go about modelling collection classes in my Class diagram?

Thanks

Tryst
Tryst

thomaskilian

  • Guest
Re: Collection Classes issue
« Reply #1 on: January 10, 2005, 05:40:21 am »
Normally you specify the multiplicity at the end of an association to be something like "1..n"

Tryst

  • EA User
  • **
  • Posts: 41
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Collection Classes issue
« Reply #2 on: January 10, 2005, 05:44:38 am »
Thanks for the reply, but is that all I have to do?

Tryst
Tryst

thomaskilian

  • Guest
Re: Collection Classes issue
« Reply #3 on: January 10, 2005, 06:48:13 am »
AFAIK. Did you try searching the EXCELLENT help files for "collection"?

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Recursion definition:
If you don’t understand the definition read "Recursion definition".