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

Better handling of parent/child relationsships

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.5
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: