Forum Index - Topic Index How to use of Astah (Pro/SysML/GSN/Com) How to create a List with Generic type that a just created class model in diagram? |
Threaded | Newest First | Previous Topic | Next Topic | Bottom |
Poster | Thread |
---|---|
brian_zhan | Posted on: 2015/6/5 13:09 |
Just popping in Joined: 2015/6/5 From: Posts: 2 |
How to create a List with Generic type that a just created class model in diagram? The scenario is I have created a class A in the diagram.
When I create the B class, I want to add a List<A> type filed into B. My question is how to do it withe astah tool. I created a List<A> as new type, but get the regExp error that dont match the [A_Z...] when generated the Java code. If I directly make a A as Type Modifier, I got the type is ListA in astah. The package path is wrong when generate the code, the path point to the interface of A, not A implementaion. |
brian_zhan | Posted on: 2015/6/5 23:17 |
Just popping in Joined: 2015/6/5 From: Posts: 2 |
Re: How to create a List with Generic type that a newly created class in diagram? Anyone can help on it?
|
webmaster | Posted on: 2015/6/8 16:41 |
Webmaster Joined: 2006/4/27 From: Posts: 287 |
Re: How to create a List with Generic type that a newly created class in diagram? Hello brian,
Thank you for your inquiry using Astah Users Community and I am very sorry for being the delay in replying to you due to the weekend. Unfortunately, we were not able to reproduce this issue you mentioned. To find a solution, please give me the following information to "support@astah.net". (1) Project file that you have problem with (2) The steps to reproduce or anything that we can use as a clue (3) Screenshot of an error message My name is Kaori and I will take care of this issue. If you have any questions, please feel free to ask me at anytime. Best regards, Kaori |
Threaded | Newest First | Previous Topic | Next Topic | Top |