Issue 6222: UML 2 Super/pg.235/missing semantics of destroy action (uml2-superstructure-ftf) Source: Simula Research Laboratory (Mr. Bran Selic, selic(at)acm.org) Nature: Uncategorized Issue Severity: Summary: pg. 235: DestroyAction: Must destroy links involving the object, at least, as they no longer have valid referents after the destruction. This is needed even if parts are not destroyed automatically. It is part of the essential semantics of links and objects, not an optional semantic variation point (as automatic part destruction is). Resolution: see above Revised Text: Actions taken: September 7, 2003: received issue March 8, 2005: closed issue Discussion: In Figure 144, add the following attributes to DestroyObjectAction: isDestroyLinks : Boolean = false isDestroyOwned : Boolean = false as shown (with change from 6491, and consolidated layout): Under the DestroyObjectAction class, In Attributes section, add: isDestroyLinks : Boolean = false Specifies whether links in which the object participates are destroyed along with the object. Default value is false. isDestroyOwnedObjects : Boolean = false Specifies whether object owned by the object are destroyed along with the object. Default value is false. In Semantics section: In the second sentence, add the word "default" before "action". In the first paragraph, add a new sentence at the end: "If isDestroyLinks is true, links in which the object participates are destroyed along with the object according to the semantics of DestroyLinkAction, except for link objects, which are destroyed according to the semantics of DestroyObjectAction with the same attribute values as the original DestroyObjectAction. If isDestroyOwnedObjects is true, objects owned by the object are destroyed according to the semantics of DestroyObjectAction with the same attribute values as the original DestroyObjectAction." End of Annotations:===== To: issues@omg.org Subject: UML 2 Super/pg.235/missing semantics of destroy action X-Mailer: Lotus Notes Release 5.0.11 July 24, 2002 From: Branislav Selic Date: Sun, 7 Sep 2003 09:57:42 -0400 X-MIMETrack: Serialize by Router on D25ML05/25/M/IBM(Release 6.0.2CF1|June 9, 2003) at 09/07/2003 09:57:44, Serialize complete at 09/07/2003 09:57:44 pg. 235: DestroyAction: Must destroy links involving the object, at least, as they no longer have valid referents after the destruction. This is needed even if parts are not destroyed automatically. It is part of the essential semantics of links and objects, not an optional semantic variation point (as automatic part destruction is). Bran Selic IBM Software Group -- Rational Software 770 Palladium Drive Kanata, Ontario, Canada K2V 1C8 ph. (613) 591-7915 fax (613) 599-3912 OMG Issue No: 6222 Title: UML 2 Super/pg.235/missing semantics of destroy action Source: International Business Machines (Mr. Bran Selic, bselic@ca.ibm.com) Summary: pg. 235: DestroyAction: Must destroy links involving the object, at least, as they no longer have valid referents after the destruction. This is needed even if parts are not destroyed automatically. It is part of the essential semantics of links and objects, not an optional semantic variation point (as automatic part destruction is). Discussion: In Figure 144, add the following attributes to DestroyObjectAction: isDestroyLinks : Boolean = false isDestroyOwned : Boolean = false as shown (with change from 6491, and consolidated layout): Under the DestroyObjectAction class, In Attributes section, add: isDestroyLinks : Boolean = false Specifies whether links in which the object participates are destroyed along with the object. Default value is false. isDestroyOwnedObjects : Boolean = false Specifies whether object owned by the object are destroyed along with the object. Default value is false. In Semantics section: In the second sentence, add the word "default" before "action". In the first paragraph, add a new sentence at the end: "If isDestroyLinks is true, links in which the object participates are destroyed along with the object according to the semantics of DestroyLinkAction, except for link objects, which are destroyed according to the semantics of DestroyObjectAction with the same attribute values as the original DestroyObjectAction. If isDestroyOwnedObjects is true, objects owned by the object are destroyed according to the semantics of DestroyObjectAction with the same attribute values as the original DestroyObjectAction." Disposition: Resolved e-mail: bselic@ca.ibm.com