-
Key: FUML11-18
-
Legacy Issue Number: 17270
-
Status: closed
-
Source: Model Driven Solutions ( Mr. Ed Seidewitz)
-
Summary:
Specification: Semantics of a Foundational Subset for Executable UML Models (fUML) (formal/2011-02-01)
Subclauses: 8.6.3.2.1 AddStructuralFeatureValueActionActivation, 8.6.3.2.3 ClearStructuralFeatureActionActivation, 8.6.3.2.12 RemoveStructuralFeatureValueAction
Data values are not mutable, so, when given a data value, the structural feature actions are supposed to produce a new data value on the result pin, with the same feature values as for the input data value except for the structural feature on which the action acts. However, the current specifications for the activations of these actions do not copy the value before modifying it, resulting in an incorrect “in place” modification of the feature value of the original data value.
-
Reported: FUML 1.0 — Fri, 23 Mar 2012 04:00 GMT
-
Disposition: Resolved — FUML 1.1
-
Disposition Summary:
Agreed, with the understanding that the term “data value” means specifically an instance of a data type, not an object, which is an instance of a class. Only objects are passed as references, which allows them to be updated mutably. Any value that is not a reference is to be considered an immutable data value.
-
Updated: Fri, 6 Mar 2015 20:58 GMT
FUML11 — Structural Feature Actions on Data Values Need to Create a new Result Value
- Key: FUML11-18
- OMG Task Force: fUML 1.1 RTF