-
Key: SYSML2_-394
-
Status: closed
-
Source: Model Driven Solutions ( Mr. Ed Seidewitz)
-
Summary:
In 8.3.10.3 ItemUsage, under "Attributes", the type of the attribute itemDefinition is Structure and the attribute description states
The Structures that are the definitions of this ItemUsage. Nominally, these are ItemDefinitions, but other kinds of Kernel Structures are also allowed, to permit use of Structures from the Kernel Library.
However, under "Constraints" the constraint deriveItemUsageItemDefinition has the following description and OCL:
The itemDefinitions of an ItemUsage are those occurrenceDefinitions that are ItemDefinitions.
itemDefinition = occurrenceDefinition->selectByKind(ItemDefinition)
This only allows itemDefinitions that are ItemDefinitions, filtering out all other kinds of Structures.
-
Reported: SysML 2.0b2 — Tue, 19 Nov 2024 23:11 GMT
-
Disposition: Resolved — SysML 2.0b4
-
Disposition Summary:
Correct the constraint
The constraint should be corrected to allow all occurrenceDefinitions that are Structures to be itemDefinitions, not just those that are ItemDefinitions.
-
Updated: Sat, 19 Jul 2025 19:25 GMT
SYSML2_ — deriveItemUsageItemDefinition is incorrect
- Key: SYSML2_-394
- OMG Task Force: Systems Modeling Language (SysML) 2.0 FTF 2