[ http://jira.andromda.org/browse/BPM-252?page=history ] Wouter Zoons closed BPM-252: ----------------------------
Resolution: Won't Fix we will never support enumerations as identifiers > Entities that contain Enumerations not generating correct code > -------------------------------------------------------------- > > Key: BPM-252 > URL: http://jira.andromda.org/browse/BPM-252 > Project: Bpm4Struts Cartridge > Type: Bug > Components: CRUD > Versions: 3.1-RC1 > Environment: Linux (Ubunut) JDK 1.5/1.4 MagicDraw 9.5 sp1 > Reporter: Tim Dysinger > Assignee: Wouter Zoons > Attachments: AndromdaQAModel.xmi, AndromdaQAModel.xmi > > Created a model with two entities and one enumeration. One entity (User) has > two string attributes. The other <<Entity>> (Role) has one <<Identifier>> > attribute of type <<Enumeration>>. This is because I want only predefined > applications roles to be in this table and the tables are used for a > JDBCRealm (Security) so the rolename and username must be the key. > It doesn't matter if you make Role <<Manageable>> or not. Either way the > code that is generated doesn't compile. If eliminate the <<Enumeration>> and > make it a string it works fine. I would like to use Enumeration for fixed > roles though. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click