Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Property Template Parameters
Property Template Parameters [message #572101] Wed, 17 January 2007 21:07
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
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.
Previous Topic:Re: Problem using UML Genmodel
Next Topic:Property Template Parameters
Goto Forum:
  


Current Time: Thu Apr 25 12:04:15 GMT 2024

Powered by FUDForum. Page generated in 0.02726 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top