case-definition-only-one-objective
Available in: SysML
This checks that case definitions have at most one owned or inherited objective.
Note that objectives implicitly redefine inherited objectives.
Specification
A
CaseDefinitionmust have at most onefeature_membershipthat is anObjectiveMembership.
Example
case def C {
objective s;
objective s2; // error
}
Remove the additional objectives:
case def C {
objective s; // ok
}