[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
|
[uml2-dev] UML 2.0 and templates
|
Title: UML 2.0 and templates
Hi !
One question regarding the template-sample Figure 430 (page 692):
template Class "FArray" mit "T, k:IntegerExpression = 10"
According to the UMLSpecification:
In which modelelements and where whould be stored
*) the name of the template parameters (i.e. T, k) ?
*) the type of the template parameters ( no type (= class), IntegerExpression) ?
Additionally (not shown in the sample): where would possible constraints be stored ?
E.g. when the type should be of kind "MyClass1" ?
According to the specification, behind the ":" should be the metaclasskind and possible constraints behind a "<",
Which would mean e.g. "T : class < MyClass1" ? But wouldn't this be missleading with the UML 1.x notation and also to the sample above ?
In my opinion the spec is confusing in this part - maybe somebody can enlighten me ?
Many thanks and cheers,
Chris