Issue 7273: UML diagram interchange: containment vs reference (uml2di-ftf) Source: International Business Machines (Mr. Bran Selic, selic@acm.org selicb@ca.ibm.com bran.selic@gmail.com) Nature: Uncategorized Issue Severity: Summary: With regard to the OMG issue of changing the semantic bridge’s association with the diagram role from ‘namespace’ to ‘owner’, the request is appropriate but the justification that state diagrams are owned by state-machines and therefore the role name has to change is not correct. In fact, the important relationship between a state diagram and its state-machine should not be the containment but rather the reference relationship. A state diagram references a state-machine element through the semantic bridge’s ‘semantic model’ role. The containment relationship is optional; a state diagram could legitimately be referencing a state-machine but contained within another namespace (although not typical). Resolution: Revised Text: Actions taken: April 22, 2004: received issue November 1, 2005: closed issue Discussion: The 'semantic model' role of a diagram is defined with a SimpleSemanticModelElement with a 'typeInfo'. This typeInfo defines the type of a diagram, e.g. a state diagram has the typeInfo 'StateDiagram'. Therefore the owner for diagrams must be defined with an extra link to the according element in the semantic model. This is done by the owner-role for the Diagram. Disposition: Closed, no change has to be made End of Annotations:===== eply-To: To: issues@omg.org Sensitivity: Subject: UML diagram interchange: containment vs reference X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 From: Branislav Selic Date: Thu, 22 Apr 2004 17:50:44 -0400 X-MIMETrack: Serialize by Router on D25ML05/25/M/IBM(Release 6.0.2CF1|June 9, 2003) at 04/22/2004 17:50:46, Serialize complete at 04/22/2004 17:50:46 With regard to the OMG issue of changing the semantic bridgeâ..s association with the diagram role from â..namespaceâ.. to â..ownerâ.., the request is appropriate but the justification that state diagrams are owned by state-machines and therefore the role name has to change is not correct. In fact, the important relationship between a state diagram and its state-machine should not be the containment but rather the reference relationship. A state diagram references a state-machine element through the semantic bridgeâ..s â..semantic modelâ.. role. The containment relationship is optional; a state diagram could legitimately be referencing a state-machine but contained within another namespace (although not typical). Bran Selic IBM Distinguished Engineer IBM Rational Software 770 Palladium Drive Kanata, Ontario, Canada K2V 1C8 ph.: (613) 591-7915 fax: (613) 599-3912 e-mail: bselic@ca.ibm.com