[ 
http://galaxy.andromda.org:8080/jira/browse/JAVA-6?page=comments#action_11178 ]
     
Greg Holmberg commented on JAVA-6:
----------------------------------

Right, but they're are datatypes, not UML interfaces, so I can't draw 
<<realize>> Abstraction associations to them from my Classifiers.

If I can't create that association to a UML interface for Set, then how could 
AndroMDA know to generate "implements java.util.Set"?

The configurable mapping to specific Java classes at generation time is good 
(I'm not asking to change that), but could we have, instead of or in addition 
to datatypes, UML interface objects for Set, List, Map, usw?

Or can you propose another way for a modeler to indicate that AndroMDA should 
generate "implements" other than using the <<realize>> Abstraction to a UML 
interface object?

> Generate generic Java code
> --------------------------
>
>          Key: JAVA-6
>          URL: http://galaxy.andromda.org:8080/jira/browse/JAVA-6
>      Project: Java Cartridge
>         Type: New Feature
>     Reporter: Greg Holmberg
>     Assignee: Wouter Zoons

>
>
> I see that the Java cartridge can generate Services (operations, no 
> attributes) and ValueObjects (attributes, no operations), but how do I 
> generate a simple Java class with operations and attributes?
> I've found that if I use no stereotype at all, nothing gets generated.
> Similarly, how would I generate a simple interface?
> Suggestion: observe the "abstract", "interface", and "enumeration" keywords.  
> "enumeration" would generate a simple Java enum (either the usual convention 
> in Java 1.4 or real enums in 5.0), and not the Hibernate thing that the 
> <<Enumeration>> stereotype does.
> Could also generate the JavaDoc.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://galaxy.andromda.org:8080/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to