Better handling of parent/child relationsships
----------------------------------------------

                 Key: SCXML-30
                 URL: http://issues.apache.org/jira/browse/SCXML-30
             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 is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to