public interface UseCase extends BehavioredClassifier
The following features are supported:
UMLPackage.getUseCase()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
MDWEList<UseCase> |
allIncludedUseCases()
The query allIncludedUseCases() returns the transitive closure of all use cases (directly or indirectly) included by this use case.
|
Extend |
createExtend(String name,
UseCase extendedCase)
Creates a new
Extend , with the specified 'Name', and 'Extended Case',
and appends it to the 'Extend' containment reference list |
ExtensionPoint |
createExtensionPoint(String name)
Creates a new
ExtensionPoint , with the specified 'Name', and appends it to the '
Extension Point' containment reference list |
Include |
createInclude(String name,
UseCase addition)
Creates a new
Include , with the specified 'Name', and 'Addition', and
appends it to the 'Include' containment reference list |
Extend |
getExtend(String name,
UseCase extendedCase)
Retrieves the first
Extend with the specified 'Name', and 'Extended Case
' from the 'Extend' containment reference list |
Extend |
getExtend(String name,
UseCase extendedCase,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first
Extend with the specified 'Name', and 'Extended Case
' from the 'Extend' containment reference list |
MDWEList<Extend> |
getExtends()
Returns the value of the 'Extend' containment reference list.
|
ExtensionPoint |
getExtensionPoint(String name)
Retrieves the first
ExtensionPoint with the specified 'Name' from the '
Extension Point' containment reference list |
ExtensionPoint |
getExtensionPoint(String name,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first
ExtensionPoint with the specified 'Name' from the '
Extension Point' containment reference list |
MDWEList<ExtensionPoint> |
getExtensionPoints()
Returns the value of the 'Extension Point' containment reference list.
|
Include |
getInclude(String name,
UseCase addition)
Retrieves the first
Include with the specified 'Name', and 'Addition'
from the 'Include' containment reference list |
Include |
getInclude(String name,
UseCase addition,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first
Include with the specified 'Name', and 'Addition'
from the 'Include' containment reference list |
MDWEList<Include> |
getIncludes()
Returns the value of the 'Include' containment reference list.
|
Classifier |
getSubject(String name)
Retrieves the first
Classifier with the specified 'Name' from the '
Subject' reference list |
Classifier |
getSubject(String name,
boolean ignoreCase,
EClass eClass)
Retrieves the first
Classifier with the specified 'Name' from the '
Subject' reference list |
MDWEList<Classifier> |
getSubjects()
Returns the value of the 'Subject' reference list.
|
boolean |
validateBinaryAssociations(DiagnosticChain diagnostics,
Map context)
UseCases can only be involved in binary Associations.
|
boolean |
validateCannotIncludeSelf(DiagnosticChain diagnostics,
Map context)
A use case cannot include use cases that directly or indirectly include it.
|
boolean |
validateMustHaveName(DiagnosticChain diagnostics,
Map context)
A UseCase must have a name.
|
boolean |
validateNoAssociationToUseCase(DiagnosticChain diagnostics,
Map context)
UseCases can not have Associations to UseCases specifying the same subject.
|
createClassifierBehavior, createInterfaceRealization, createOwnedBehavior, createOwnedTrigger, getAllImplementedInterfaces, getClassifierBehavior, getImplementedInterfaces, getInterfaceRealization, getInterfaceRealization, getInterfaceRealizations, getOwnedBehavior, getOwnedBehavior, getOwnedBehaviors, getOwnedTrigger, getOwnedTrigger, getOwnedTriggers, setClassifierBehavior, validateClassBehavior
allFeatures, allParents, conformsTo, createCollaborationUse, createGeneralization, createOwnedUseCase, createRepresentation, createSubstitution, getAllAttributes, getAllOperations, getAllUsedInterfaces, getAttribute, getAttribute, getAttributes, getCollaborationUse, getCollaborationUse, getCollaborationUses, getFeature, getFeature, getFeatures, getGeneral, getGeneral, getGeneralization, getGeneralization, getGeneralizations, getGenerals, getInheritedMember, getInheritedMember, getInheritedMembers, getOperation, getOperation, getOperations, getOwnedUseCase, getOwnedUseCase, getOwnedUseCases, getPowertypeExtent, getPowertypeExtent, getPowertypeExtents, getRedefinedClassifier, getRedefinedClassifier, getRedefinedClassifiers, getRepresentation, getSubstitution, getSubstitution, getSubstitutions, getUseCase, getUseCase, getUseCases, getUsedInterfaces, hasVisibilityOf, inherit, inheritableMembers, isAbstract, isFinalSpecialization, maySpecializeType, parents, setIsAbstract, setIsFinalSpecialization, setRepresentation, validateGeneralizationHierarchies, validateMapsToGeneralizationSet, validateNoCyclesInGeneralization, validateSpecializeType
createElementImport, createElementImport, createOwnedDiagram, createOwnedRule, createOwnedRule, createPackageImport, createPackageImport, excludeCollisions, getElementImport, getElementImport, getElementImports, getImportedElements, getImportedMember, getImportedMember, getImportedMembers, getImportedPackages, getMember, getMember, getMembers, getNamesOfMember, getOwnedDiagrams, getOwnedDiagrams, getOwnedMember, getOwnedMember, getOwnedMembers, getOwnedRule, getOwnedRule, getOwnedRules, getPackageImport, getPackageImport, getPackageImports, importMembers, membersAreDistinguishable, validateMembersDistinguishable
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
conformsTo, createAssociation, getAssociations, getPackage, setPackage
allNamespaces, allOwningPackages, createDependency, createNameExpression, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
createOwnedTemplateSignature, createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBinding, getTemplateBinding, getTemplateBindings, isTemplate, parameterableElements, setOwnedTemplateSignature
MDWEList<Include> getIncludes()
Include
.
It is bidirectional and its opposite is 'Including Case
'.
References the Include relationships owned by this use case.
UMLPackage.getUseCase_Include()
,
Include.getIncludingCase()
Include createInclude(String name, UseCase addition)
Include
, with the specified 'Name', and 'Addition', and
appends it to the 'Include' containment reference list.
name
- The 'Name' for the new Include
, or null
.addition
- The 'Addition' for the new Include
, or null
.Include
.getIncludes()
Include getInclude(String name, UseCase addition)
Include
with the specified 'Name', and 'Addition'
from the 'Include' containment reference list.
name
- The 'Name' of the Include
to retrieve, or null
.addition
- The 'Addition' of the Include
to retrieve, or null
.Include
with the specified 'Name', and 'Addition', or
null
.getIncludes()
Include getInclude(String name, UseCase addition, boolean ignoreCase, boolean createOnDemand)
Include
with the specified 'Name', and 'Addition'
from the 'Include' containment reference list.
name
- The 'Name' of the Include
to retrieve, or null
.addition
- The 'Addition' of the Include
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.createOnDemand
- Whether to create a Include
on demand if not found.Include
with the specified 'Name', and 'Addition', or
null
.getIncludes()
MDWEList<Extend> getExtends()
Extend
.
It is bidirectional and its opposite is 'Extension
'.
References the Extend relationships owned by this use case.
UMLPackage.getUseCase_Extend()
,
Extend.getExtension()
Extend createExtend(String name, UseCase extendedCase)
Extend
, with the specified 'Name', and 'Extended Case',
and appends it to the 'Extend' containment reference list.
name
- The 'Name' for the new Extend
, or null
.extendedCase
- The 'Extended Case' for the new Extend
, or null
.Extend
.getExtends()
Extend getExtend(String name, UseCase extendedCase)
Extend
with the specified 'Name', and 'Extended Case
' from the 'Extend' containment reference list.
name
- The 'Name' of the Extend
to retrieve, or null
.extendedCase
- The 'Extended Case' of the Extend
to retrieve, or null
.Extend
with the specified 'Name', and 'Extended Case',
or null
.getExtends()
Extend getExtend(String name, UseCase extendedCase, boolean ignoreCase, boolean createOnDemand)
Extend
with the specified 'Name', and 'Extended Case
' from the 'Extend' containment reference list.
name
- The 'Name' of the Extend
to retrieve, or null
.extendedCase
- The 'Extended Case' of the Extend
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.createOnDemand
- Whether to create a Extend
on demand if not found.Extend
with the specified 'Name', and 'Extended Case',
or null
.getExtends()
MDWEList<ExtensionPoint> getExtensionPoints()
ExtensionPoint
.
It is bidirectional and its opposite is 'Use Case
'.
References the ExtensionPoints owned by the use case.
UMLPackage.getUseCase_ExtensionPoint()
,
ExtensionPoint.getUseCase()
ExtensionPoint createExtensionPoint(String name)
ExtensionPoint
, with the specified 'Name', and appends it to the '
Extension Point' containment reference list.
name
- The 'Name' for the new ExtensionPoint
, or null
.ExtensionPoint
.getExtensionPoints()
ExtensionPoint getExtensionPoint(String name)
ExtensionPoint
with the specified 'Name' from the '
Extension Point' containment reference list.
name
- The 'Name' of the ExtensionPoint
to retrieve, or null
.ExtensionPoint
with the specified 'Name', or null
.getExtensionPoints()
ExtensionPoint getExtensionPoint(String name, boolean ignoreCase, boolean createOnDemand)
ExtensionPoint
with the specified 'Name' from the '
Extension Point' containment reference list.
name
- The 'Name' of the ExtensionPoint
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.createOnDemand
- Whether to create a ExtensionPoint
on demand if not found.ExtensionPoint
with the specified 'Name', or null
.getExtensionPoints()
MDWEList<Classifier> getSubjects()
Classifier
.
It is bidirectional and its opposite is 'Use Case
'.
References the subjects to which this use case applies. The subject or its parts realize all the use cases that apply to this subject. Use
cases need not be attached to any specific subject, however. The subject may, but need not, own the use cases that apply to it.
UMLPackage.getUseCase_Subject()
,
Classifier.getUseCases()
Classifier getSubject(String name)
Classifier
with the specified 'Name' from the '
Subject' reference list.
name
- The 'Name' of the Classifier
to retrieve, or null
.Classifier
with the specified 'Name', or null
.getSubjects()
Classifier getSubject(String name, boolean ignoreCase, EClass eClass)
Classifier
with the specified 'Name' from the '
Subject' reference list.
name
- The 'Name' of the Classifier
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the Classifier
to retrieve, or null
.Classifier
with the specified 'Name', or null
.getSubjects()
boolean validateMustHaveName(DiagnosticChain diagnostics, Map context)
boolean validateBinaryAssociations(DiagnosticChain diagnostics, Map context)
boolean validateNoAssociationToUseCase(DiagnosticChain diagnostics, Map context)
boolean validateCannotIncludeSelf(DiagnosticChain diagnostics, Map context)