Abstract Class UML 2.3::ParameterableElement
Description:
A parameterable element is an element that can be exposed as a formal template
parameter for a template, or specified as an actual parameter in a binding
of a template.
Direct Superclasses: ElementDirect Subclasses: PackageableElement,
Operation,
ConnectableElementClass Precedence List: ParameterableElement,
ElementProperties:
![](/se-interop/image/down-arrow.png?hunchentoot-session=154366%3A6CD6E47C3F71103767DF009AD47E3086)
owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=154366%3A6CD6E47C3F71103767DF009AD47E3086)
templateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=154366%3A6CD6E47C3F71103767DF009AD47E3086)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=154366%3A6CD6E47C3F71103767DF009AD47E3086)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=154366%3A6CD6E47C3F71103767DF009AD47E3086)
owner :
Element (0 1); -- source
ElementConstraints:
No additional constraints.
Operations:
Signature: isTemplateParameter() : Boolean;
Description: The query isTemplateParameter() determines if this parameterable element is exposed as a formal template parameter.
Expression: result = templateParameter->notEmpty()
Signature: isCompatibleWith(p : ParameterableElement; ) : Boolean;
Description: The query isCompatibleWith() determines if this parameterable element is compatible with the specified parameterable element. By default parameterable element P is compatible with parameterable element Q if the kind of P is the same or a subtype as the kind of Q. Subclasses should override this operation to specify different compatibility constraints.
The OCL used here is not normative.Editor's notes: oclType(), not oclType. No oclType in OCL AFAIK. I have one though,.
Expression: result = p->oclIsKindOf(self.oclType())
Original: result = p->oclIsKindOf(self.oclType)
Send questions or comments to
[email protected].