SMM 1.2 RTF Avatar
  1. OMG Issue

SMM12 — Inconsistent handling of inherited attributes

  • Key: SMM12-92
  • Status: closed  
  • Source: Micro Focus ( Larry Hines)
  • Summary:

    In SMM, inherited attributes are usually not shown in the document's diagram nor discussed in the document's text unless some feature (such as multiplicity) is overridden in the subclass. In some classes, however, we show unmodified inherited attributes. For clarity we should consistently not show unmodified inherited attributes.

    Unmodified inherited attributes appear in the Scope, MeasureRelationship, and NamedMeasure classes.

    Furthermore, the multiplicities of both name and description attributes in SmmElement in the diagrams (and model) differ from those listed in the specification's text in Sub-clause 8.2. What's in the text seems to be correct, and what is in the diagrams is wrong.

  • Reported: SMM 1.1 — Fri, 2 Oct 2015 15:25 GMT
  • Disposition: Resolved — SMM 1.2
  • Disposition Summary:

    Remove or redefine inherited attributes

    Change the multiplicities of both name and description attributes in SmmElement in the diagrams (and model) to [0..1] to make them match the multiplicities given in the document's text.

    Remove the attributes name and description in the Scope class. The attributes are inherited from AbstractMeasureElement without any change.

    Also, remove the attribute name in the NamedMeasure and MeasureRelationship classes. NamedMeasure inherits name from Measure without any change. The name attribute should not be required on MeasureRelationship; hence, it inherits name from SmmElement without any change.

    Mark the name attribute in the following classes as redefining the attributes name of the SmmElement class: Characteristic, Measure, and Argument. In each name is required. These attributes need to be marked in the model, diagrams and document.

  • Updated: Mon, 2 Apr 2018 18:08 GMT