Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"libraries/NPR7150.sysml": {
"algorithm": "SHA256",
"value": "de4cba92861d83612b2d1b7acb5f5b27fd81c204c5599d34e3b7296b0345cb8e"
"value": "26b6074fe7feb59f3173d34307526a0798543b6b0f3a5e4bd10b4ea9cea1c02c"
},
"libraries/OOSEM.sysml": {
"algorithm": "SHA256",
Expand Down
21 changes: 15 additions & 6 deletions libraries/NPR7150.sysml
Original file line number Diff line number Diff line change
Expand Up @@ -4079,12 +4079,17 @@ library package NPR7150 {
}

calc def RequirementMappingEntries :> Query {
doc /* The requirement usages below root that carry a RequirementMapping annotation. */
doc /* The requirement usages below root that carry a RequirementMapping annotation. An
* annotated requirement definition is reusable vocabulary, not a row of a project's matrix.
*/
in root : Element;
in depth : Integer default 16;
WhereMetadata(
source = Descendants(source = root, maxDepth = depth),
'metadata' = "NPR7150::RequirementMapping"
WhereType(
source = WhereMetadata(
source = Descendants(source = root, maxDepth = depth),
'metadata' = "NPR7150::RequirementMapping"
),
type = "RequirementUsage"
)
}

Expand Down Expand Up @@ -4141,12 +4146,16 @@ library package NPR7150 {

calc def SoftwareClassificationRegister :> Query {
doc /* One row per system or subsystem containing software below root: name, software class,
* safety-critical determination and documentation, the record SWE-176 asks for.
* safety-critical determination and documentation, the record SWE-176 asks for. The rows
* are part usages; a definition specializing SoftwareSystem is not itself a system.
*/
in root : Element;
in depth : Integer default 16;
Project(
source = WhereType(source = Descendants(source = root, maxDepth = depth), type = "NPR7150::SoftwareSystem"),
source = WhereType(
source = WhereType(source = Descendants(source = root, maxDepth = depth), type = "NPR7150::SoftwareSystem"),
type = "PartUsage"
),
properties = ("name", "softwareClass", "safetyCritical", "documentation"),
tolerate = true
)
Expand Down
Loading