Software Disclaimer

Abstract Class UML 2.5::ParameterableElement

Description:

A ParameterableElement is an Element that can be exposed as a formal TemplateParameter for a template, or specified as an actual parameter in a binding of a template.

Direct Superclasses: Element

Direct Subclasses: PackageableElement, Operation, ConnectableElement

Class Precedence List: ParameterableElement, Element

Properties:

owningTemplateParameter : TemplateParameter (0 1); -- source ParameterableElement
templateParameter : TemplateParameter (0 1); -- source ParameterableElement
ownedComment : Comment (0 *); -- source Element
ownedElement : Element (0 *); -- source Element
owner : Element (0 1); -- source Element

The Element that owns this Element.
{readonly}
Derived union with sources: (owningTemplateParameter)
Opposite: Element.ownedElement

Constraints:

No additional constraints.

Operations:

Signature: isTemplateParameter() : Boolean;
Description: The query isTemplateParameter() determines if this ParameterableElement is exposed as a formal TemplateParameter.
Expression: result = (templateParameter->notEmpty())

Signature: isCompatibleWith(p : ParameterableElement; ) : Boolean;
Description: The query isCompatibleWith() determines if this ParameterableElement is compatible with the specified ParameterableElement. By default, this ParameterableElement is compatible with another ParameterableElement p if the kind of this ParameterableElement is the same as or a subtype of the kind of p. Subclasses of ParameterableElement should override this operation to specify different compatibility constraints.
Expression: result = (self.oclIsKindOf(p.oclType()))



Send questions or comments to xmi-interop@omg.org.