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? |
Flat | Previous Topic | Next Topic |
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. |
Flat | Previous Topic | Next Topic |
Subject | Poster | Date |
---|---|---|
» How to create a List with Generic type that a just created class model in diagram? | brian_zhan | 2015/6/5 13:09 |
Re: How to create a List with Generic type that a newly created class in diagram? | brian_zhan | 2015/6/5 23:17 |
Re: How to create a List with Generic type that a newly created class in diagram? | webmaster | 2015/6/8 16:41 |