| Summary: | [ClassDiagram] Multiplicity of return parameter of operation not shown in class diagram | ||
|---|---|---|---|
| Product: | [Modeling] Papyrus | Reporter: | yirco <netswengineer> |
| Component: | Core | Assignee: | Project Inbox <mdt-papyrus-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | gabriel.pascual, geekseb, pavanesh |
| Version: | 0.8.1 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Gerrit review is available at https://git.eclipse.org/r/#/c/27385/ I added possibility to display multiplicity of operation return by a property of diagram appearance in associated properties view. Merged in Master. Closing bug |
Hi, According to the UML spec an operation has the following notation: [<visibility>] <name> ‘(‘ [<parameter-list>] ‘)’ [‘:’ [<return-type>] [‘[‘ <multiplicity> ‘]’] [‘{‘ <oper-property> [‘,’ <oper-property>]* ‘}’]] where: • <multiplicity> is the multiplicity of the return type Papyrus 0.8.2 does not show the multiplicity for the return type. Reproduction: *) Create a class on a class diagram. *) Add an operation to the class. *) Add a return parameter to the operation in the Properties View. *) Set the multiplicity of the return parameter to 1..* *) While the operation is selected in the class diagram, in the Properties View select the Appearance tab and tick Parameters Multiplicity. The multiplicity is not shown in the diagram.