|
Re: Model validation failed [message #1835645 is a reply to message #1835640] |
Wed, 09 December 2020 12:18 |
|
Hi,
It is difficult to create instances of stereotypes in a composite aggregation because if you just create a Country as you did in the property sheet, then there is no convenient way to set the Component that the Country extends. It is recommended not to make composition of stereotypes in a Profile because tools are unlikely to support that. As you have found, Papyrus does not.
Nor is it usually necessary to make associations between stereotypes at all because in 99.9% of cases the metaclasses that they extend already have those associations. For example, a Component can be contained in a Package. So a Country needs not be contained in a WorldMap. Just delete that association from your profile and let the «Country» Component be contained in a «WorldMap» Package.
HTH,
Christian
|
|
|
Powered by
FUDForum. Page generated in 0.02984 seconds