Software Disclaimer

Class UML 2.4.1::TemplateParameter


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


default : ParameterableElement (0 1); -- source TemplateParameter
ownedDefault : ParameterableElement (0 1); -- source TemplateParameter

The element that is owned by this template parameter for the purpose of providing a default.
Subsets: Element.ownedElement, TemplateParameter.default

ownedParameteredElement : ParameterableElement (0 1); -- source TemplateParameter
parameteredElement : ParameterableElement (1 1); -- source TemplateParameter
signature : TemplateSignature (1 1); -- source TemplateParameter
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


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


No additional operations.

Send questions or comments to [email protected].