Issue 14430: UML2::Constraint (uml2-rtf) Source: Commissariat a l Energie Atomique-CEA (Dr. Sebastien Gerard, sebastien.gerard(at)cea.fr) Nature: Uncategorized Issue Severity: Summary: When modelling a constraint in UML on several constrained elements, how is itpossible to know which constrained element is the context of the constraint? In the spec, the metaattribute context of Constraint is derived, but the spec does not define how it is derived. Resolution: Revised Text: Actions taken: September 22, 2009: received issue Discussion: End of Annotations:===== ubject: UML2::Constraint Date: Tue, 22 Sep 2009 15:12:57 +0200 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: UML2::Constraint Thread-Index: Aco7hmbnCeiJwVxNTGWvIzPtpZTDJg== From: "GERARD Sebastien 166342" To: X-OriginalArrivalTime: 22 Sep 2009 13:12:57.0836 (UTC) FILETIME=[674EE2C0:01CA3B86] Hi, When modelling a constraint in UML on several constrained elements, how is itpossible to know which constrained element is the context of the constraint? In the spec, the metaattribute context of Constraint is derived, but the spec does not define how it is derived. Merci, Séb. Dr. Sébastien Gérard Head of MDD for DRES research project CEA LIST/LISE Boîte courrier 65, GIF SUR YVETTE CEDEX, F-91191 France Phone/fax : +33 1 69 08 58 24 / 83 95 Leader of the Eclipse Component Papyrus (The UML2 Graphical Modeler): www.papyrusuml.org http://www.eclipse.org/modeling/mdt/?project=papyrus Before printing, think about the environment X-Trusted-NM: yes From: "Nerijus Jankevicius" To: "GERARD Sebastien 166342" , Subject: Re: UML2::Constraint Date: Tue, 22 Sep 2009 16:24:05 +0300 X-Mailer: Microsoft Outlook Express 6.00.2900.5843 X-EsetScannerBuild: 5695 Sebastien, If I remember correctly, context is the owner. Nerijus. ----- Original Message ----- From: GERARD Sebastien 166342 To: uml2-rtf@omg.org Sent: Tuesday, September 22, 2009 4:12 PM Subject: UML2::Constraint Hi, When modelling a constraint in UML on several constrained elements, how is itpossible to know which constrained element is the context of the constraint? In the spec, the metaattribute context of Constraint is derived, but the spec does not define how it is derived. Merci, Séb. Dr. Sébastien Gérard Head of MDD for DRES research project CEA LIST/LISE Boîte courrier 65, GIF SUR YVETTE CEDEX, F-91191 France Phone/fax : +33 1 69 08 58 24 / 83 95 Leader of the Eclipse Component Papyrus (The UML2 Graphical Modeler): www.papyrusuml.org http://www.eclipse.org/modeling/mdt/?project=papyrus Before printing, think about the environment From: "Rouquette, Nicolas F (316A)" To: "BERNARD, Yves" , Nerijus Jankevicius , GERARD 166342 , "uml2-rtf@omg.org" Date: Tue, 22 Sep 2009 21:32:58 -0700 Subject: Re: UML2::Constraint Thread-Topic: UML2::Constraint Thread-Index: Aco7iBA4Lw7ly4djTNSPlnMhRUW/1gAAtKwgAB8CkDE= Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US X-Source-IP: altvirehtstap01.jpl.nasa.gov [128.149.137.72] X-Source-Sender: nicolas.f.rouquette@jpl.nasa.gov X-AUTH: Authorized Nerijus & Yves are correct. It doesn.t make sense to make Constraint::context derived because the A_ownedRule_context association is the concrete specialization of the abstract association A_ownedMember_namespace. Jurgen . can you please create a new issue for this? The resolution is quite simple. The only bug is in clause 7.3.10 of the superstructure spec where Constraint::context is shown as derived when it shouldn.t. Figures 9.13, 11.17 and clauses 9.6.1, 11.5.1 in the infrastructure spec are OK. Figure 7.7 in the superstructure spec is OK. Both infrastructure & superstructure metamodels are OK. - Nicolas. On 9/22/09 6:54 AM, "BERNARD, Yves" wrote: Hi Séb, I think that the slash in front of "context" in the UML specification is a typo: the context is not shown as derived in the figure 7.7 and its textual definition in the Association clause of §7.3.10 does not specify it is derived. More the ownedRule association of NameSpace is no more specifed as "derived". I agree : context is the owner. Cheers, Yves -----Message d'origine----- De : Nerijus Jankevicius [mailto:nerijus@nomagic.com] Envoyé : mardi 22 septembre 2009 15:24 À : GERARD Sebastien 166342; uml2-rtf@omg.org Objet : Re: UML2::Constraint Sebastien, If I remember correctly, context is the owner. Nerijus. ----- Original Message ----- From: GERARD Sebastien 166342 To: uml2-rtf@omg.org Sent: Tuesday, September 22, 2009 4:12 PM Subject: UML2::Constraint Hi, When modelling a constraint in UML on several constrained elements, how is itpossible to know which constrained element is the context of the constraint? In the spec, the metaattribute context of Constraint is derived, but the spec does not define how it is derived. Merci, Séb. Dr. Sébastien Gérard Head of MDD for DRES research project CEA LIST/LISE Boîte courrier 65, GIF SUR YVETTE CEDEX, F-91191 France Phone/fax : +33 1 69 08 58 24 / 83 95 Leader of the Eclipse Component Papyrus (The UML2 Graphical Modeler): www.papyrusuml.org http://www.eclipse.org/modeling/mdt/?project=papyrus Before printing, think about the environment This mail has originated outside your organization, either from an external partner or the Global Internet. Keep this in mind if you answer this message. The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, please notify Airbus immediately and delete this e-mail. Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately. All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.