Abstract Class UML 2.5::RedefinableElement

Description:

A RedefinableElement is an element that, when defined in the context of
a Classifier, can be redefined more specifically or differently in the
context of another Classifier that specializes (directly or indirectly)
the context Classifier.

Constraints:

No additional constraints.

Operations:

Signature: isRedefinitionContextValid(redefinedElement : RedefinableElement; ) : Boolean;Description: The query isRedefinitionContextValid() specifies whether the redefinition
contexts of this RedefinableElement are properly related to the redefinition
contexts of the specified RedefinableElement to allow this element to redefine
the other. By default at least one of the redefinition contexts of this
element must be a specialization of at least one of the redefinition contexts
of the specified element.Expression: result = (redefinitionContext->exists(c | c.allParents()->includesAll(redefinedElement.redefinitionContext)))

Signature: isConsistentWith(redefiningElement : RedefinableElement; ) : Boolean;Description: The query isConsistentWith() specifies, for any two RedefinableElements
in a context in which redefinition is possible, whether redefinition would
be logically consistent. By default, this is false; this operation must
be overridden for subclasses of RedefinableElement to define the consistency
conditions.Expression: result = (false)