Issue 11302: Appendix B is out of date (spem2-ftf) Source: International Business Machines (Dr. Peter Haumer, phaumer@us.ibm.com) Nature: Clarification Severity: Minor Summary: Appendix B is out of date. The diagrams need to be updated to use the correct stereotype names. It misses a section for the extends-replace variability kind. Resolution: - Updated Appendix B with new images as the examples provided used the wrong stereotypes. - Added Appendix B.5 for Extends-Replace to complete the specification. Revised Text: - Updated images in Section B.2: - Updated images in Section B.3: - Updated images in Section B.4: - New Section "B.5: Extends-Replace Background The extends and replaces variability relationship combines the effects of extends and replaces variability into one variability type. Whereas replaces variability completely replaces all attributes and outgoing associations of the base element with new values and instances, or removes all values or associations if the replacing element does not define any, extends and replaces variability only replaces values that have been redefined. All other values of the base element are unaffected. In other words, extends and replaces allows users to selectively replace specific attributes and associations of the base elements. This type of variability can be used to generate method plug-ins that rename elements, or replace some descriptions of method elements with new ones, without completely remodeling all other relationships and attributes needed by the base plug-in. Rules o Extends and replace variability combines the effects of the extends and the replaces variability. The evaluation will first perform the effects of the extends and then the effects of the replaces variability. This implies the following: § First, the new element will inherit all attributes and associations from the base element. § Second, the new elements might override inherited attributes or associations. § Third, the base element will be replaced with new element using the overridden values and if no override was specified keeping the inherited values. o If the extends and replaces element defines outgoing associations, they will replace all outgoing associations of the base elements. If the extends and replaces element does not define any new associations, the resulting element will retain the associations of the base element. o Incoming associations from the base element are added to the replacing element. o If the extends and replaces element defines attributes, these attributes are replaced in the resulting element including the base element's identifier. Undefined attributes retain values used in the base element. o The base element of a replaces relationship or an extends and replaces relationship can have only one replaces or extends and replaces element per configuration. If more than one element is present, no replacement takes place. o The extends and replaces relationship is transitive and evaluated top-down relative to the direction of the replacement. If a replacing element is also replaced, the final replacing element prevails. o Contributes variability relationships are resolved before replaces and extends and replaces relationships. Extends relationships are resolved last. Variability is always resolved top-down from the base to the variability elements. Within the same level, contributes relationships are resolved first. Replaces or extends and replaces are resolved afterwards. Example The example below shows how extends-replace works by having the extends-replacing element p_business_process inherit is base's relationships, but overriding the relationships to guidance elements as part of the replacement. Actions taken: August 22, 2007: received issue January 15, 2008: closed issue Discussion: End of Annotations:===== m: webmaster@omg.org Date: 22 Aug 2007 19:54:47 -0400 To: Subject: Issue/Bug Report -------------------------------------------------------------------------------- Name: Peter Haumer Company: IBM mailFrom: phaumer@us.ibm.com Notification: No Specification: Software Process Engineering Metamodel Specification Section: Appendix B FormalNumber: ptc/07-03-03 Version: 2.0 RevisionDate: March/12/2007 Page: 171-180 Nature: Clarification Severity: Minor HTTP User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 Description Appendix B is out of date. The diagrams need to be updated to use the correct stereotype names. It misses a section for the extends-replace variability kind.