Forum Index - Topic Index How to use of Astah (Pro/SysML/GSN/Com) Exporting Java Class Diagram with List <?> |
Flat | Previous Topic | Next Topic |
Poster | Thread |
---|---|
Joba | Posted on: 2012/7/24 4:28 |
Developer Joined: 2006/6/6 From: Posts: 969 |
Re: Exporting Java Class Diagram with List <?> Hi there, thanks for using Astah. With the following two steps, you should be able to export as you wish.
1. Choose the option in [Java Export] dialog Please tick the [Export Association End with multiple multiplicities as Collection rather than Array] option in the dialog that appears after you select [Tool] - [Java] - [Export Java]. (Figure below) Reference: Astah Professional Reference Manual - 34. Exporting Java (P.359) 2. Add {ordered} constraint to the Association End Add {ordered} constraint to the Association End. Checking the option above will use Collection Class instead of Array, however it will not use List unless {ordered} is added. Hope this helps. We are sorry that this isn't very intuitive. Improving this to make it easier is already on our list. Let us know if you have any furtner questions! Cheers, SJ |
Flat | Previous Topic | Next Topic |
Subject | Poster | Date |
---|---|---|
Exporting Java Class Diagram with List <?> | cristianch | 2012/7/20 22:07 |
» Re: Exporting Java Class Diagram with List <?> | Joba | 2012/7/24 4:28 |