Hi, we generate Java from MagicDraw UML diagrams. Generics support works well for associations between classes, i.e. we get a generic Collection<AssociatedType> on the 1 side of the association.
But I want to define a method that is supposed to return a generic collection type like Collection<MyDomainSpecificType> getFilteredCollection(). What is necessary to make the Java cartridge generate methods with such return types? I have found this article http://www.eclipse.org/articles/article.php?file=Article-Defining-Generics-with-UML-Templates/index.html, does it apply to the Fornax java cartridge? Off-topic but just in case: Has anyone found out what to do in MagicDraw UML to get such parameters or return types? Best regards Dietrich -- View this message in context: http://old.nabble.com/Using-generic-types-for-attributes-and-return-parameters-tp29550107s17564p29550107.html Sent from the Fornax-Platform mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ Fornax-developer mailing list Fornax-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fornax-developer