MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
hklerks
Post subject: Reverse engineering/code generation and collections for UML2  PostPosted: Nov 09, 2009 - 04:46 PM
Veteran Member
Veteran Member


Joined: Dec 04, 2003
Posts: 5

Hi,

I have been eagerly following the progress of the UML2 feature set in MyEclipse, and am quite happy so far. It's just that the reverse engineering and code generation does not handle collections at all...

Am I missing something or is this functionality still to be added?

Cheers,
Harry
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-nipun
Post subject: RE: Reverse engineering/code generation and collections for  PostPosted: Nov 16, 2009 - 10:42 AM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8012

Harry,
Yes we do support this functionality. If you have a property of collection type - List<String> in the Java file. After RE, you will get the property generated - for instance names: List<String>. In the model it is represented as a DataType with a name - List<String>.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
hklerks
Post subject: Reverse engineering collections revisited  PostPosted: May 15, 2010 - 11:15 AM
Veteran Member
Veteran Member


Joined: Dec 04, 2003
Posts: 5

Hi,

Just tried MyEclipse 8.5 for this feature but it still does not exactly do what I expect...

Say I have a Class1 that has a property of type List<Class2> (or any other collection for that matter). When I generate a class model for these two classes I would expect to see an association between Class1 and Class2 with a *-cardinality on the Class2 end. MyEclipse does not render (or generate) such an association.

I found an earlier post on this forum (2007) saying that generics were not supported yet. It seems to me generics are still not supported. Am I wright or still missing something?

Regards,
Harry Klerks
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-chakri
Post subject: RE: Reverse engineering collections revisited  PostPosted: May 17, 2010 - 02:40 PM
Registered Member
Registered Member


Joined: Apr 05, 2010
Posts: 68

Hi,

Sorry for the inconvenience.
We support the Parameterised collections (List<Class> myClass). But right now we dont generate the dependency relationship to reprent such relations. I'll discuss this with our Dev team and let you know the time frame when we can deliver this.

Thanks,
Chakri Vedula.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits