[ http://galaxy.andromda.org:8080/jira/browse/JAVA-6?page=comments#action_11184 ] Chad Brandon commented on JAVA-6: ---------------------------------
Well I personally prefer not to model interfaces (since most of the time it just reflects the implementation) however once Wouter adds the interface generation support to the java cartridge, you should have no problem doing what you want to do with the "interface.Set" thing (with Value Objects), but just placing that interface in your model Sorry I thought you meant you wanted to model java.util.Set, etc. > 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
