Query on UseCase Subject type

Systems engineering related questions and discussions.

Moderator: Moderators

Query on UseCase Subject type

Postby brandon.schreiner@plexus.com » Mon Aug 21, 2023 11:33 pm

I have a model containing a set of UseCases. I'm using the Subject property of each UseCase to designate the Block responsible for realizing that UseCase. Those Blocks use several different custom stereotypes. I'd like to create a table that lists only those UseCases where the Subject has a particular stereotype (just call it <<a_stereotype>>). How would the query be setup? I've been thinking it should be a simple navigation with an embedded metachain as the context, but I can't seem to get it to work out. Either I'm just wrong about that being the approach, or I don't understand how to set it up properly.
brandon.schreiner@plexus.com
Forum Newbie
Forum Newbie
 
Posts: 4
Posts Rating:0
Joined: Mon Aug 21, 2023 11:13 pm

Re: Query on UseCase Subject type

Postby brandon.schreiner@plexus.com » Tue Aug 22, 2023 9:43 pm

I think I figured it out. Nested construction of Metachain>Filter>Find/Property Test. The Metachain is outermost, with the Filter as its context. The Filter uses a Find for its input and a Property Test for its predicate. The Find outputs the set of all Blocks in my desired scope package. The Filter predicate Property Test passes any items in the resulting set that have an Applied Stereotype with value <<a_stereotype>>. The metachain definition has 1 step, which produces the set of Use Case property elements for the set passed by the Filter.
brandon.schreiner@plexus.com
Forum Newbie
Forum Newbie
 
Posts: 4
Posts Rating:0
Joined: Mon Aug 21, 2023 11:13 pm


Return to Model Based Systems Engineering (MBSE)

Who is online

Users browsing this forum: No registered users and 0 guests