Class UML 2.3::Extend
Description:
A relationship from an extending use case to an extended use case that
specifies how and when the behavior defined in the extending use case can
be inserted into the behavior defined in the extended use case.
Direct Superclasses: NamedElement,
DirectedRelationshipDirect Subclasses: Class Precedence List: Extend,
NamedElement,
DirectedRelationship,
Relationship,
ElementProperties:
![](/se-interop/image/down-arrow.png)
condition :
Constraint (0 1); -- source
Extend![](/se-interop/image/down-arrow.png)
extendedCase :
UseCase (1 1); -- source
Extend![](/se-interop/image/down-arrow.png)
extension :
UseCase (1 1); -- source
Extend![](/se-interop/image/right-arrow.png)
extensionLocation :
ExtensionPoint (1 *); -- source
Extend An ordered list of extension points belonging to the extended use case,
specifying where the respective behavioral fragments of the extending use
case are to be inserted. The first fragment in the extending use case is
associated with the first extension point in the list, the second fragment
with the second point, and so on. (Note that, in most practical cases,
the extending use case has just a single behavior fragment, so that the
list of extension points is trivial.)
{
ordered}
![](/se-interop/image/down-arrow.png)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
visibility :
VisibilityKind (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
source :
Element (1 *); -- source
DirectedRelationship![](/se-interop/image/down-arrow.png)
target :
Element (1 *); -- source
DirectedRelationship![](/se-interop/image/right-arrow.png)
relatedElement :
Element (1 *); -- source
Relationship Specifies the elements related by the Relationship.
{
readonly}
Derived union with sources: (target, source, extension, extendedCase)
![](/se-interop/image/down-arrow.png)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png)
owner :
Element (0 1); -- source
ElementConstraints:
Signature: extension_points() : Boolean;
Description: The extension points referenced by the extend relationship must belong
to the use case that is being extended.
Expression: extensionLocation->forAll (xp | extendedCase.extensionPoint->includes(xp))
Operations:
No additional operations.
Send questions or comments to
[email protected].