UML {ordered} produces invalid code
-----------------------------------
Key: EJB-57
URL: http://jira.andromda.org/browse/EJB-57
Project: EJB Cartridge
Type: Bug
Environment: AndroMDA 3.3-SNAPSHOT on Windows using EJB3-cartridge
(HEAD-checkout from 16th may 2007)
Reporter: Tun Schlechter
Assigned to: Vance Karimi
A one to many association between 2 <<entity>> classes [Class_1 and Class_2]
with {ordered} tag on the many side produces the following code within Class_1:
private java.util.Set<Class_2> class_2s = new java.util.ArrayList<Class_2>();
and thus the expected following error:
C:\work\bugreport-ordered\core\target\src\Class_1.java:[35,46] incompatible
types
found : java.util.ArrayList<Class_2>
required: java.util.Set<Class_2>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.andromda.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/