-
Key: UML22-275
-
Legacy Issue Number: 10347
-
Status: closed
-
Source: CNAM ( Jean-Frederic Etienne)
-
Summary:
Is it possible in UML 2.0 specification to define a formal template parameter, for which the actual parameter to be given during parameter substitution is not a classifier but an instance of a specific classifier (more precisely, an instance of a specific class). If this is possible, what should be the type of the parameterable element exposed by the formal template parameter?? Does it have to be of type InstanceSpecification (or even ValueSpecification) to indicate that we are expecting an Object as actual parameter?? Moreover, what should be the type of the parameterable element to be exposed as actual parameter to indicate that we are providing a specific instance or value?? Finally what should be the proper notation for such template parameter to make the distinction with classifier template parameter??
-
Reported: UML 2.0 — Fri, 15 Sep 2006 04:00 GMT
-
Disposition: Resolved — UML 2.2
-
Disposition Summary:
InstanceSpecification is not a ParameterableElement, so it cannot be used as a TemplateParameter. Providing a specific instance to a part would be done by assignment, not template bindings. See WriteStructuralFeatureAction.
Revised Text:
Disposition: Closed, no Change -
Updated: Fri, 6 Mar 2015 20:58 GMT