Uploaded image for project: 'Commons SCXML'
  1. Commons SCXML
  2. SCXML-30

Better handling of parent/child relationsships

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.5
    • Fix Version/s: None
    • Labels:
      None

      Description

      The nice thing about Statecharts is its hierarchical structure. However, it is far too easy to build incomplete models, e.g. use addChild but forget setParent. I notice that some add methods automatically set the parent (opposite relation), and I suggest that this is done consistently throughout the model classes. This also goes for methods like State.setParallel and Parallel(TransitionTarget).setParent.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hallvard Hallvard Trætteberg
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: