Author Topic: UML Collection  (Read 3400 times)

patti_

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
UML Collection
« on: September 22, 2006, 01:47:50 am »
Hi, I have a very simple problem that I can't solve.

I am working in Logical View.
I have two classes and I want one class to consist a membervariable of type SortedList<Class2>. How do I design that in Locgial View so the automatice code generation creates a SortedList membervariable?

thanks PAtrik

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: UML Collection
« Reply #1 on: September 22, 2006, 04:00:22 am »
Patrick,

Take a look at the Detail tab of the Class Attributes dialog.

You can set some collection class defaults for several languages with the Tools / Options dialog. Go the page for your language of choice and look for a button. For example, on the VB.Net page you will find a Collection Classes button.

You may want to import the .Net library or Java runtime environment into your model. Use the Project / Source Code Engineering / Import Binary Module diaog. See the help file and search this forum for more information.

David
No, you can't have it!