SysML 2.0b2 FTF Avatar
  1. OMG Issue

SYSML2 — Incorrect notation in action examples

  • Key: SYSML2-99
  • Status: open  
  • Source: Model Driven Solutions ( Mr. Ed Seidewitz)
  • Summary:

    In 7.16.2 Action Definitions, the action definition example TakePicture contains two declarations with incorrect textual notation:

    action focus : Focus (in scene, out image);

    and

    action shoot : Shoot (in image, out picture);

    These should be

    action focus : Focus {in scene; out image;}

    and

    action shoot : Shoot {in image; out picture;}

    In 7.16.10 If Action Usages, the nested action declarations in the last example all have incorrect textual notation:

    if threat.level == high then {
        action soundAlarm(threat);
    } else if threat.level == medium then {
        action sendNotification(threat);
    } else {
        action beginMonitoring(threat);
    }

    This should instead be something like:

    if threat.level == high then {
        action soundAlarm {in cause=threat;}
    } else if threat.level == medium then {
        action sendNotification {in cause = threat;}
    } else {
        action beginMonitoring {in cause = threat;}
    }

  • Reported: SysML 2.0a1 — Fri, 28 Apr 2023 21:33 GMT
  • Updated: Mon, 8 Apr 2024 18:21 GMT