Book a Demo

Author Topic: setting class attribute type as arraylist  (Read 5663 times)

myla

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
setting class attribute type as arraylist
« on: July 08, 2005, 01:13:17 pm »
Hi,
I have the folowing question ...
In the class diagram, I am trying to model some class, this class have a attribute that I want to set as
something like arraylist (the code will be vb.net) each of item of this arraylist  will be another class that I have
already created ...
what should I do ??? please ....

Thanks in advance ...

Myla

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: setting class attribute type as arraylist
« Reply #1 on: July 10, 2005, 03:35:05 pm »
I would start by modelling it as an association with multiplicity 0..* (or something similar)

Then you can set the collection classes for VB.Net in the options.  You can also set the collection classes for the class you are linking to if you don't want a global collection class set.

Simon