Bug 486091 - [Codegen C++] Generation of association end
Summary: [Codegen C++] Generation of association end
Status: NEW
Alias: None
Product: Papyrus
Classification: Modeling
Component: Designer (show other bugs)
Version: 1.2.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-19 05:14 EST by Shuai Li CLA
Modified: 2017-08-02 05:52 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shuai Li CLA 2016-01-19 05:14:56 EST
I propose to generate an association end (property), part of a classifier, according to the following rules on the aggregation kind of the association end:

- NONE: property is stereotyped (Ptr or Ref) and not Array
- SHARED: property is stereotyped (Ptr or Ref) and Array
- COMPOSITE: property is not stereotyped Ptr and not Ref

Also, instead of using Array to determine cardinality, we could use the UML cardinality, but that's not part of this bug.