Software Disclaimer

Class UML 2.4.1::TemplateParameter

Description:

A template parameter exposes a parameterable element as a formal template parameter of a template.

Direct Superclasses: Element

Direct Subclasses: OperationTemplateParameter, ConnectableElementTemplateParameter, ClassifierTemplateParameter

Class Precedence List: TemplateParameter, Element

Properties:

default : ParameterableElement (0 1); -- source TemplateParameter
ownedDefault : ParameterableElement (0 1); -- source TemplateParameter
ownedParameteredElement : ParameterableElement (0 1); -- source TemplateParameter
parameteredElement : ParameterableElement (1 1); -- source TemplateParameter
signature : TemplateSignature (1 1); -- source TemplateParameter

The template signature that owns this template parameter.
Subsets: Element.owner
Opposite: TemplateSignature.ownedParameter

ownedComment : Comment (0 *); -- source Element
ownedElement : Element (0 *); -- source Element

The Elements owned by this element.
{composite, readonly}
Derived union with sources: (ownedComment, ownedParameteredElement, ownedDefault)
Opposite: Element.owner

owner : Element (0 1); -- source Element

Constraints:

Signature: must_be_compatible() : Boolean;
Description: The default must be compatible with the formal template parameter.
Expression: default->notEmpty() implies default->isCompatibleWith(parameteredElement)

Operations:

No additional operations.



Send questions or comments to [email protected].