commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ate Douma (JIRA)" <>
Subject [jira] [Resolved] (SCXML-30) Better handling of parent/child relationsships
Date Sat, 15 Feb 2014 23:05:19 GMT


Ate Douma resolved SCXML-30.

       Resolution: Fixed
    Fix Version/s:     (was: 2.0)

Resolving this issue.
I went through all the model classes and AFAICT this improvement has been taken care of properly
some time before.

> Better handling of parent/child relationsships
> ----------------------------------------------
>                 Key: SCXML-30
>                 URL:
>             Project: Commons SCXML
>          Issue Type: Improvement
>    Affects Versions: 0.5
>            Reporter: Hallvard Trætteberg
> 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.

This message was sent by Atlassian JIRA

View raw message