From: Wouter Z. (JIRA) <ji...@an...> - 2005-12-24 20:45:39
|
[ 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. |