Learn about Webel's comprehensive SysMLv2 Workshop Seminar course!
Webel now has a SysMLv2 Online Self-Study course with self-test Quizzes!
Learn about the Webel Q&A online self-testing system for SysML v2/v1

SysML2.0: CAUTION: The "modifiers" nonunique and ordered are NOT inherited by redefinitions or subsettings (unlike effective multiplicity inheritance)

Icon class
icon_class
far fa-sticky-note
icon_class_computed
far fa-sticky-note
Note kind
Policy level
Specification keywords
SysMLv2 keywords
Keywords
Click on the image to view it full size
This page features a particularly detailed SysMLv2 "rich slide" (learn more here)

The "modifiers" nonunique and ordered are NOT inherited by redefinitions or subsettings (unlike others aspects of the closely related effective multiplicity). Therefore, if you have a nonunique feature and redefine it you MUST again provide nonunique in the redefinition declaration, otherwise it will revert to the default for Feature::isUnique which is true.

In the example above, uniqueOops redefines the nonunique repeatRef but does not include nonunique again in the redefinition declaration, so it takes the default isUnique=true, and thus the assigned feature values with repeats (a1, a2, a1, a3, a3) are invalid (although the Cameo 2026xR1 validation engine and SysMLv2 Evaluation Plugin don't seem to report it as invalid yet).

BTW: The informal term "modifier" does not appear formally in either the KerML1.0 or SysML2.0 specifications (but is offered as a tool display feature in Cameo 2026xR1 although it doesn't seem to do anything yet).

If you wondered why the redefined feature was named repeatRef it is to emphasise the following related matter:


Webel does the detailed do's and don'ts SysMLv2 analysis for you and provides clear modelling solutions that work!

To learn SysMLv2 with easy-to-follow, fully worked examples attend a Webel SysMLv2 Workshop Seminar group course or learn at your own pace with the Webel SysMLv2 Online course with self-test Quizzes:

Relates to
Related notes
Related notes (backlinks)
Related snippets (extracts)
Visit also
Visit also (backlinks)