Sparx Systems Forum

Enterprise Architect => Uml Process => Topic started by: patti_ on September 22, 2006, 01:47:50 am

Title: UML Collection
Post by: patti_ 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
Title: Re: UML Collection
Post by: «Midnight» 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