[ http://jira.andromda.org/browse/JAVA-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Plushnikov Michail closed JAVA-2. --------------------------------- Resolution: Won't Fix > Support for j2me > ---------------- > > Key: JAVA-2 > URL: http://jira.andromda.org/browse/JAVA-2 > Project: Java Cartridge > Issue Type: Improvement > Reporter: Tomasz Lempart > Assignee: Matthias Bohlen > > Enumeration uses java.util.Collection class which does not occur in midp. For > midp you can only use old java.util.Vector. I think there should be > additional parameter for java cartridge as j2me (default false). If this > parameter is true than Enumerations, ValueObject and so on can be use with > j2me applications. > I can not actually add files, so below are changes. > - andromda-cartridge.xml > <property reference="j2me" default="false"/> > - Enumeration.vsl > #elseif ($serializable == 'true' && $j2me == 'false') > implements java.io.Serializable > #end > { > #if ($j2me == 'false') > private static java.util.Collection values = new java.util.ArrayList(); > #else > private static java.util.Vector values = new java.util.Vector(); > #end > #if ($j2me == 'false') > values.add(valueType); > #else > values.addElement(valueType); > #end > - ValueObject.vsl > #if ($serializable == 'true' && $j2me == 'false') > implements java.io.Serializable > #end -- 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 the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev