Class UML 2.4.1::UseCase
Description:
A use case is the specification of a set of actions performed by a system,
which yields an observable result that is, typically, of value for one
or more actors or other stakeholders of the system.
Direct Superclasses: BehavioredClassifierDirect Subclasses: Class Precedence List: UseCase,
BehavioredClassifier,
Classifier,
Namespace,
Type,
PackageableElement,
ParameterableElement,
RedefinableElement,
NamedElement,
TemplateableElement,
ElementProperties:
![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
extend :
Extend (0 *); -- source
UseCase![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
extensionPoint :
ExtensionPoint (0 *); -- source
UseCase![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
include :
Include (0 *); -- source
UseCase![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
subject :
Classifier (0 *); -- source
UseCase![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
classifierBehavior :
Behavior (0 1); -- source
BehavioredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
interfaceRealization :
InterfaceRealization (0 *); -- source
BehavioredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
ownedBehavior :
Behavior (0 *); -- source
BehavioredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
attribute :
Property (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
collaborationUse :
CollaborationUse (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
feature :
Feature (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
general :
Classifier (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
generalization :
Generalization (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
inheritedMember :
NamedElement (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
isAbstract : Boolean (1 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
isFinalSpecialization : Boolean (1 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
ownedTemplateSignature :
RedefinableTemplateSignature (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
ownedUseCase :
UseCase (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
powertypeExtent :
GeneralizationSet (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
redefinedClassifier :
Classifier (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
representation :
CollaborationUse (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
substitution :
Substitution (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
templateParameter :
ClassifierTemplateParameter (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
useCase :
UseCase (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
elementImport :
ElementImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
importedMember :
PackageableElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
member :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
ownedMember :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
ownedRule :
Constraint (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
packageImport :
PackageImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
package :
Package (0 1); -- source
Type![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
visibility :
VisibilityKind (1 1); -- source
PackageableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
isLeaf : Boolean (1 1); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
redefinitionContext :
Classifier (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
templateBinding :
TemplateBinding (0 *); -- source
TemplateableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=27780%3AB196C4479448C5189ADEB7168627DE85)
owner :
Element (0 1); -- source
ElementConstraints:
Signature: no_association_to_use_case() : Boolean;
Description: UseCases can not have Associations to UseCases specifying the same subject.
Expression: true
Signature: must_have_name() : Boolean;
Description: A UseCase must have a name.
Expression: self.name -> notEmpty ()
Signature: cannot_include_self() : Boolean;
Description: A use case cannot include use cases that directly or indirectly include
it.
Expression: not self.allIncludedUseCases()->includes(self)
Signature: binary_associations() : Boolean;
Description: UseCases can only be involved in binary Associations.
Expression: true
Operations:
Signature: allIncludedUseCases() : UseCase;
Description: The query allIncludedUseCases() returns the transitive closure of all use
cases (directly or indirectly) included by this use case.
The OCL used here is not normative.Editor's notes: in is a reserved word.
Expression: result = self.include->union(self.include->collect(n | n.allIncludedUseCases()))
Original: result = self.include->union(self.include->collect(in | in.allIncludedUseCases()))
Send questions or comments to
[email protected].