Issue 8020: constrainedElement direction (uml2-rtf) Source: NIST (Dr. Conrad Bock, conrad.bock(at)nist.gov) Nature: Revision Severity: Significant Summary: constrainedElement direction The association between Constraint and Element named "constrainedElement" is unidirectional from Constraint to Element. This means implementations are not required to provide efficient navigation from an element to the constraints on it. Since the constraints of a model element are part of the definition of that element, the required navigation should at least be from the element to the constraint. Resolution: Discussion A Constraint can constrain multiple constrainedElements and, thus, is not necessarily owned by any one of them. In this sense, the Constraint is not, in general, part of the formal “definition” of the constrainedElements. Rather, if the Constraint has a context (which may or may not be a constrainedElement), then it is more proper to think of the constraint as part of the definition of that context, and the context association end is navigable. Further, one wants to be able to add constraints to elements of the model without having tomodify an owned property of the elements being constrained, but making the association from Element to Constraint would imply (by the usual UML abstract syntax metamodel conventions) that the “constraint” association end would become owned by Element. Disposition: Closed - No Change Revised Text: Actions taken: December 30, 2004: received issue February 20, 2015: closed issue Discussion: Disposition: Deferred to UML 2.4 RTF End of Annotations:===== m: webmaster@omg.org Date: 30 Dec 2004 15:11:35 -0500 To: Subject: Issue/Bug Report -------------------------------------------------------------------------------- Name: Conrad Bock Company: NIST mailFrom: conrad.bock@nist.gov Notification: No Specification: UML 2 Super Section: Classes FormalNumber: ptc/04-10-02 Version: 2.0 RevisionDate: 04-10-02 Page: - Nature: Revision Severity: Significant HTTP User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Description constrainedElement direction The association between Constraint and Element named "constrainedElement" is unidirectional from Constraint to Element. This means implementations are not required to provide efficient navigation from an element to the constraints on it. Since the constraints of a model element are part of the definition of that element, the required navigation should at least be from the element to the constraint.