[Issue 6423] New - Mulitplicity of String attribute generates incorrect C# code

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.issues
Message-ID <[email protected]>
http://argouml.tigris.org/issues/show_bug.cgi?id=6423
                 Issue #|6423
                 Summary|Mulitplicity of String attribute generates incorrect C
                        |# code
               Component|argouml
                 Version|0.34
                Platform|PC
                     URL|
              OS/Version|Windows XP
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|CodeGeneration and ReverseEngineering
             Assigned to|thn
             Reported by|ltaylor934






------- Additional comments from [email protected] Tue Apr  3 14:38:22 -0700 2012 -------
Open a new project.
Open a new Class Diagram.
In the diagram, add a new Class. Select the class. 
Give it a name, like "TheClass".
In the Properties tab, select New Attribute.
Select String UML 1.4 Standard.
Set Multiplicity  to 0..*.
Select the class in the diagram. 
In properties, select Source tab. Show the code for C# language.
--> Result: the attribute generates source code like this:
    public 0..* String newAttr;
.. which is invalid C#.
Expected:
Maybe generate a ListArray for this attribute.
Same problem for an element class of integer.

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=448&dsMessageId=2944235

To unsubscribe from this list, e-mail: [[email protected]].
Please do not reply to this mail. Instead, add your comments in the issue.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.