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=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
extend :
Extend (0 *); -- source
UseCase![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
extensionPoint :
ExtensionPoint (0 *); -- source
UseCase![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
include :
Include (0 *); -- source
UseCase![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
subject :
Classifier (0 *); -- source
UseCase![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
classifierBehavior :
Behavior (0 1); -- source
BehavioredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
interfaceRealization :
InterfaceRealization (0 *); -- source
BehavioredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
ownedBehavior :
Behavior (0 *); -- source
BehavioredClassifier![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
attribute :
Property (0 *); -- source
Classifier![](/se-interop/image/right-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
collaborationUse :
CollaborationUse (0 *); -- source
ClassifierReferences the collaboration uses owned by the classifier.
{
composite}
Subsets: Element.ownedElement
![](/se-interop/image/right-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
feature :
Feature (0 *); -- source
ClassifierSpecifies each feature defined in the classifier. Note that there may be
members of the Classifier that are of the type Feature but are not included
in this association, e.g. inherited features.
{
readonly}
Derived union with sources: (attribute)
Subsets: Namespace.member
Opposite: Feature.featuringClassifier
![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
general :
Classifier (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
generalization :
Generalization (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
inheritedMember :
NamedElement (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
isAbstract : Boolean (1 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
isFinalSpecialization : Boolean (1 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
ownedTemplateSignature :
RedefinableTemplateSignature (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
ownedUseCase :
UseCase (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
powertypeExtent :
GeneralizationSet (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
redefinedClassifier :
Classifier (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
representation :
CollaborationUse (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
substitution :
Substitution (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
templateParameter :
ClassifierTemplateParameter (0 1); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
useCase :
UseCase (0 *); -- source
Classifier![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
elementImport :
ElementImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
importedMember :
PackageableElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
member :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
ownedMember :
NamedElement (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
ownedRule :
Constraint (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
packageImport :
PackageImport (0 *); -- source
Namespace![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
package :
Package (0 1); -- source
Type![](/se-interop/image/right-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
visibility :
VisibilityKind (1 1); -- source
PackageableElementIndicates that packageable elements must always have a visibility, i.e.,
visibility is not optional.
Redefines: NamedElement.visibility
Default value: PUBLIC
![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
isLeaf : Boolean (1 1); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
redefinitionContext :
Classifier (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
templateBinding :
TemplateBinding (0 *); -- source
TemplateableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=94229%3A2CD4C6DFC96A04932E9617E868FB133C)
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].