Legacy Issue Number: 18751
Source: gmail.com ( Achraf Belmokadem)
It is currently the case that Observation.requestedMeasures is of type SmmElement. Constraints have been added to make sure that one does not pass a e.g. SmmModel instance as a requestedMeasure but only instances of type Measure, MeasureCategory and CategoryRelationship.
My suggestion is to change the type from SmmElement to AbstractMeasureElement. We would then be able to measure the following:
MeasureCategory - e.g. Measures that fall in the same category
Scope - e.g. Measures that use the define the same scope
Characteristic - e.g. Measures that are characterized by a certain characteristic
Operation - e.g. Measures that use a certain operation
OCLOperation - e.g. Measures that use a certain OCLOperation
This would make the metamodel cleaner by having lessing constraints and making it easier to understand. Could it be that this was caused because of the fact that there is no section about AbstractMeasureElement?
Reported: SMM 1.0 — Tue, 4 Jun 2013 04:00 GMT
Disposition: Resolved — SMM 1.1
Change the type of requestedMeasures to be AbstractMeasureElement
Updated: Wed, 8 Jul 2015 11:44 GMT