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=270936%3AC633A7C9C7C8BCD9E54A75895FC863DC)
owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=270936%3AC633A7C9C7C8BCD9E54A75895FC863DC)
templateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=270936%3AC633A7C9C7C8BCD9E54A75895FC863DC)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=270936%3AC633A7C9C7C8BCD9E54A75895FC863DC)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=270936%3AC633A7C9C7C8BCD9E54A75895FC863DC)
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].