Main Menu
Login
SSL SecureMode
Username:
Password:  
Lost Password?
Register now!
ChangeVision Members Map
Search
Forum Index   -   Topic Index
   How to use of Astah (Pro/SysML/GSN/Com)
     Help with java import to class diagram -- generics?

Flat Previous Topic | Next Topic
Poster Thread
midori
Posted on: 2008/2/28 13:20
Developer
Joined: 2006/7/3
From:
Posts: 324
Re: Help with java import to class diagram -- generics?
Hi Jason,

Thank you for using JUDE!

In JUDE, generics will be imported as template parameters.

For example, import the following codes:
import java.util.List;
public class Parent {

	List<Child> c;

}


As you can see, List<Child> is imported as an anonymous bound class.





















An association can be set between Parent and Child if you add the following code:
import java.util.List;
public class Parent {

	List<Child> c;
	Child[] c2;

}


After importing, an association is generated between Parent and Child.




















If you have further questions, please let us know at any time. Thank you.


Regards,
Midori
Flat Previous Topic | Next Topic

Subject Poster Date
   Help with java import to class diagram -- generics? titusj 2008/2/28 7:26
     Re: Help with java import to class diagram -- generics? titusj 2008/2/28 7:27
     » Re: Help with java import to class diagram -- generics? midori 2008/2/28 13:20
         Re: Help with java import to class diagram -- generics? titusj 2008/2/29 0:46
           Re: Help with java import to class diagram -- generics? midori 2008/2/29 11:52
             Re: Help with java import to class diagram -- generics? titusj 2008/2/29 23:35
             Re: Help with java import to class diagram -- generics? emkookmer 2008/6/17 16:36
               Re: Help with java import to class diagram -- generics? midori 2008/6/18 15:54
             Re: Help with java import to class diagram -- generics? simas 2010/6/10 21:02
               Re: Help with java import to class diagram -- generics? Joba 2010/6/16 2:09