Previous UML Classes Table of Contents UML Packages Next


17.5.16 OperationTemplateParameter

Templates


   An operation template parameter exposes an operation as a formal parameter for a template.

*Generalizations

   

    TemplateParameter (from Templates) on page 653

   Description

   OperationTemplateParameter is a template parameter where the parametered element is an Operation.

   Attributes

   No additional attributes

Associations

Constraints

No additional constraints

Semantics

parameteredElement : Operation[1] The operation for this template parameter. Redefines
TemplateParameter::parameteredElement.

   See Operation for additional semantics related to the compatibility of actual and formal operation parameters.

   Notation

   An operation template parameter extends the notation for a template parameter to include the parameters for the operation:<operation-template-parameter> ::= <parameter> [ ‘:‘ <parameter-kind> ] [‘=’ <default>]<parameter> ::= <operation-name> ‘(‘ [<op-parameter> [‘,’ <op-parameter>]* ‘)’<default> ::= <operation-name ‘(‘ [<op-parameter> [‘,’ <op-parameter>]* ‘)’

   ConnectableElement template parameters

   The Connectable element template parameters package supports the specification of ConnectableElement template parameters.

   Issue 8590 -add redefines constraints to ConnectableElement TemplateParameter::parameteredElement and ConnectableElement ::parameter 8591 - fixed by 8590 9110 - rename ‘parameter’ to ‘templateParameter’ and add constraint


   Figure 17.30 - Connectable element template parameters