Abstract Class UML 2.5::TemplateableElement
Description:
A TemplateableElement is an Element that can optionally be defined as a
template and bound to other templates.
Direct Superclasses: ElementDirect Subclasses: StringExpression,
Package,
Operation,
ClassifierClass Precedence List: TemplateableElement,
ElementProperties:
![](/se-interop/image/down-arrow.png?hunchentoot-session=19346%3AB7343A2C6A69D657D5D6D2CF0BAE5DA3)
ownedTemplateSignature :
TemplateSignature (0 1); -- source
TemplateableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=19346%3AB7343A2C6A69D657D5D6D2CF0BAE5DA3)
templateBinding :
TemplateBinding (0 *); -- source
TemplateableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=19346%3AB7343A2C6A69D657D5D6D2CF0BAE5DA3)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=19346%3AB7343A2C6A69D657D5D6D2CF0BAE5DA3)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=19346%3AB7343A2C6A69D657D5D6D2CF0BAE5DA3)
owner :
Element (0 1); -- source
ElementConstraints:
No additional constraints.
Operations:
Signature: parameterableElements() : ParameterableElement;
Description: The query parameterableElements() returns the set of ParameterableElements
that may be used as the parameteredElements for a TemplateParameter of
this TemplateableElement. By default, this set includes all the ownedElements.
Subclasses may override this operation if they choose to restrict the set
of ParameterableElements.
Expression: result = (self.allOwnedElements()->select(oclIsKindOf(ParameterableElement)).oclAsType(ParameterableElement)->asSet())
Signature: isTemplate() : Boolean;
Description: The query isTemplate() returns whether this TemplateableElement is actually
a template.
Expression: result = (ownedTemplateSignature <> null)
Send questions or comments to
[email protected].