Legacy Issue Number: 13458
Source: Model Driven Solutions ( Ed Seidewitz)
Specification: Semantics of a Foundation Subset for Executable UML Models, FTF Beta 1 (ptc/08-11-03)
Section: 184.108.40.206.8 FeatureValue
The operation FeatureValue::hasEqualValues uses the remove operation on a local list variable. This is not allowed by the conventions of Annex A.
Rather than introducing a special class as a “ValueList holder”, a local instance of FeatureValue can be used for this purpose.
ValueList otherValues = new ValueList();
FeatureValue otherFeatureValues = new FeatureValue();
In subsequent code, replace all references to “otherValues” with “otherFeatureValues.values”.
Reported: FUML 1.0b1 — Sat, 7 Feb 2009 05:00 GMT
Disposition: Resolved — FUML 1.0b2
Change the code as proposed
Updated: Fri, 6 Mar 2015 20:58 GMT