Issue 6188: UML 2 Super/Metamodel/merging of non-redefinable model elements (uml2-superstructure-ftf) Source: Simula Research Laboratory (Mr. Bran Selic, selic(at)acm.org) Nature: Uncategorized Issue Severity: Summary: Model elements, like Constraint, that are not RedefinableElements are always copied from the merged model element to the merging model element. When a package like Kernel is merged into many packages which are then in turn merged into another common package, these non-redefinable elements are copied down multiple times in the leaf merging package. For example, L3::Classifier has a large number of ownedRules named general_equals_parent which it gets from Dependencies::Classifier. Dependencies is merged into Kernel which is merged into many packages in Superstructure. Perhaps a Constraint should be a RedefinableElement, or package merge should only copy down these elements once Resolution: see above Revised Text: Actions taken: September 7, 2003: received issue March 8, 2005: closed issue Discussion: The new package merge rules as specified in the resolution to issue 6279 handle this case by specifying that two elements that are equal are (in effect) not merged, thereby avoiding multiple copies of an element that is merged more than once. End of Annotations:===== To: issues@omg.org Subject: UML 2 Super/Metamodel/merging of non-redefinable model elements X-Mailer: Lotus Notes Release 5.0.11 July 24, 2002 From: Branislav Selic Date: Sun, 7 Sep 2003 08:53:36 -0400 X-MIMETrack: Serialize by Router on D25ML05/25/M/IBM(Release 6.0.2CF1|June 9, 2003) at 09/07/2003 08:53:37, Serialize complete at 09/07/2003 08:53:37 Model elements, like Constraint, that are not RedefinableElements are always copied from the merged model element to the merging model element. When a package like Kernel is merged into many packages which are then in turn merged into another common package, these non-redefinable elements are copied down multiple times in the leaf merging package. For example, L3::Classifier has a large number of ownedRules named general_equals_parent which it gets from Dependencies::Classifier. Dependencies is merged into Kernel which is merged into many packages in Superstructure. Perhaps a Constraint should be a RedefinableElement, or package merge should only copy down these elements once. Bran Selic IBM Software Group -- Rational Software 770 Palladium Drive Kanata, Ontario, Canada K2V 1C8 ph. (613) 591-7915 fax (613) 599-3912 e-mail: bselic@ca.ibm.com