Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - David Boaz

Pages: [1]
1
Uml Process / Re: Import of Java generic-collections
« on: October 23, 2008, 11:55:22 pm »
Hi again,

Will it be possible to solve (or, at least work-around) the problem described above using a transformation?
Can someone give us a hint how to define such a transformation?

Thanks, David

2
Uml Process / Import of Java generic-collections
« on: September 26, 2008, 01:19:23 am »
Hi all,

I have a large set of existing Java classes. When trying to import the Java code to EA, it appears that all generic-collections were not recognized as associations in EA.
For example, when importing:
class B{}
class A{
  private List<B> items;
}

EA will not create a 1:* association from A to B.

This question is related to the discussion in http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1219245068/3#3

The question is how to configure EA to understand these collections. If this feature is not supported, then can someone please propose a workaround?

Thanks for the help, David

3
Uml Process / Re: import Java code - relationships with Set or L
« on: September 21, 2008, 10:55:42 pm »
Hi Sparx experts,

We have encountered the same issue. But we did not understand the answer. Is it possible to configure EA to recognize List<T> as a collection of T? We tried to configure this feature in the Java collection class tab:
default collection class = java.util.List<#TYPE#>
But unfortunately, EA doesn't draw an association.

If this feature is not supported, can you please suggest a workaround? We have plenty of existing classes that are written using generics collections - and cannot be properly displayed.

Thanks for the help, David

Pages: [1]