[ http://jira.andromda.org/browse/JAVA-6?page=history ]
     
Wouter Zoons resolved JAVA-6:
-----------------------------

    Resolution: Not an issue

re-reading all the comments on this issue, and considering the support for 
interfaces has been added, I'm confident this issue can safely be set to 
'resolved' .. if nobody minds I'll just close this one in a few weeks

> Generate generic Java code
> --------------------------
>
>          Key: JAVA-6
>          URL: http://jira.andromda.org/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.




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php

Reply via email to