-
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
-
Attachments:
- Figure10-1_smm__Characteristic_and_Scope.png 15 kB (image/png)
- Figure10-2_smm__Measures.png 36 kB (image/png)
- Figure12-1_smm__Other_Measures.png 12 kB (image/png)
- Figure16-1_smm__Observation.png 15 kB (image/png)
- Figure7-1_smm__Fundamental_Approach.png 16 kB (image/png)
- Figure8-1_smm__Core_Classes.png 47 kB (image/png)
- Figure8-2_smm__Core_Relationship_Classes.png 39 kB (image/png)
SMM12 — Inconsistent handling of inherited attributes
- Key: SMM12-92
- OMG Task Force: Structured Metrics Metamodel 1.2 RTF