[
http://galaxy.andromda.org:8080/jira/browse/JAVA-6?page=comments#action_11160 ]
Greg Holmberg commented on JAVA-6:
----------------------------------
Should also observe the <<realize>> Abstraction. So, for example, if there is
a <<realize>> Abstraction from class MySet to interface Set, it would generate:
public class MySet implements java.util.Set {...}
The AndroMDA profile should include interface objects for all the Java
collection interfaces (Set, List, Map, Collection, etc.).
Similarily, if MyArray generalizes ArrayList, AndroMDA should generate:
public class MyArray extends java.util.ArrayList {...}
> 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