Property Template Parameters [message #572101] |
Wed, 17 January 2007 21:07 |
Tatiana Fesenko Messages: 530 Registered: July 2009 |
Senior Member |
|
|
Create TemplateParameter with Property named A and with type Integer as a
ParameteredElement. According to specification, the TemplateParameter has "A
: Property", not "A : Integer" notation. Tell me am I right or wrong?
See UML2 06-04-02, Templates Section, p.675
"The general notation for a template parameter is a string displayed within
the template parameter list for the template:
<template-parameter> ::= <template-param-name> [':' <parameter-kind> ] ['='
<default>]
where <parameter-kind> is the name of the metaclass for the exposed element.
The syntax of <template-param-name> depends on the kind of
parameteredElement for this template parameter substitution and of <default>
depends upon the kind of element. See "ParameterableElement (from
Templates)" on page 647 (and its subclasses)."
Thank you,
Tatiana.
|
|
|
Powered by
FUDForum. Page generated in 0.02726 seconds