Subjects, actors, and objectives for cases
Once you create the needed case for your model, you can specify it further. Cases are usually specified with:
- The subject of a case is modeled as a distinguished parameter, similarly to the subject of a requirement.
- The objective of a case is modeled as a requirement usage to be satisfied by the performance of the case.
- A case definition or usage may also have one or more actor parameters that represent roles played by an entity external to the subject of the case but necessary to the specification of the case.
A case can have only one subject and objective.
Specifying subject, actors, and objective for case
Specifying subjects, actors, and objectives for cases via the Textual Editor
To specify subjects, actors, and objectives for cases via the Textual Editor
- In the Textual Editor, within the curly braces of the case's body, do the following:
- To specify a subject, declare the subject keyword, specify the element name, specialization (optional).
- To specify an actor, declare the actor keyword, specify the element name, specialization (optional).
- To specify an objective, declare the objective keyword, then in the element body, declare a documentation.
- Click the Synchronize button.
case def FaultRecovery { // case definition
subject system : AutomationSystem; // case subject
actor engineer : Person; // case actor
objective { // case objective
doc
/* The engineer determines the cause of the system fault and resolves it returning the system to nominal operation. */
}
}
Specifying subjects, actors, and objectives for cases via the Drag and Drop handler in a view
To specify subjects, actors, and objectives for cases via the Drag and Drop handler in a view
- Drag and drop an element from the Containment tree or use its symbol's Drag and Drop handler on a case element symbol executing the Create Subject, Create Actor, Create Objective, or Create Require Constraint of Objective command.
Specifying subjects, actors, and objectives for cases via the symbol compartment in a view
For more information, see the Creating elements via compartments on the (2026x Refresh1) Compartments page.
To specify subjects, actors, and objectives for cases via the symbol compartment in a view
- Do one of the following:
- Select a case symbol and click the Create Element button on it. In the dropdown menu, select the element you want to create. The new element is created and displayed in its appropriate compartment.
- Select a case symbol and on the right side of the actors compartment, click the Create actor button. The new element is created and displayed in the actors compartment.
Specifying subjects, actors, and objectives for cases via the Specification panel
To specify subjects, actors, and objectives for cases via the Specification panel
- Open the Specification panel.
- Do one of the following:
- In the Properties section bar, click the Create Element
button. The shortcut menu appears. Click the needed element kind in the shortcut menu. - In the actors compartment section's bar, click the Create actor
button.
The element is created in the appropriate compartment.
- In the Properties section bar, click the Create Element