public interface Extend extends NamedElement, DirectedRelationship
The following features are supported:
UMLPackage.getExtend()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
Constraint |
createCondition(String name)
Creates a new
Constraint ,with the specified 'Name', and sets the '
Condition' containment reference |
Constraint |
createCondition(String name,
EClass eClass)
Creates a new
Constraint , with the specified 'Name', and sets the '
Condition' containment reference |
Constraint |
getCondition()
Returns the value of the 'Condition' containment reference
|
UseCase |
getExtendedCase()
Returns the value of the 'Extended Case' reference
|
UseCase |
getExtension()
Returns the value of the 'Extension' container reference.
|
ExtensionPoint |
getExtensionLocation(String name)
Retrieves the first
ExtensionPoint with the specified 'Name' from the '
Extension Location' reference list |
ExtensionPoint |
getExtensionLocation(String name,
boolean ignoreCase)
Retrieves the first
ExtensionPoint with the specified 'Name' from the '
Extension Location' reference list |
MDWEList<ExtensionPoint> |
getExtensionLocations()
Returns the value of the 'Extension Location' reference list.
|
void |
setCondition(Constraint value)
Sets the value of the '
Condition ' containment reference |
void |
setExtendedCase(UseCase value)
Sets the value of the '
Extended Case ' reference |
void |
setExtension(UseCase value)
Sets the value of the '
Extension ' container reference |
boolean |
validateExtensionPoints(DiagnosticChain diagnostics,
Map context)
The extension points referenced by the extend relationship must belong to the use case that is being extended.
|
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
getSources, getTargets
getRelatedElements
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
UseCase getExtendedCase()
setExtendedCase(UseCase)
,
UMLPackage.getExtend_ExtendedCase()
void setExtendedCase(UseCase value)
Extended Case
' reference.
value
- the new value of the 'Extended Case' reference.getExtendedCase()
Constraint getCondition()
setCondition(Constraint)
,
UMLPackage.getExtend_Condition()
void setCondition(Constraint value)
Condition
' containment reference.
value
- the new value of the 'Condition' containment reference.getCondition()
Constraint createCondition(String name, EClass eClass)
Constraint
, with the specified 'Name', and sets the '
Condition' containment reference.
name
- The 'Name' for the new Constraint
, or null
.eClass
- The Ecore class of the Constraint
to create.Constraint
.getCondition()
Constraint createCondition(String name)
Constraint
,with the specified 'Name', and sets the '
Condition' containment reference.
name
- The 'Name' for the new Constraint
, or null
.Constraint
.getCondition()
MDWEList<ExtensionPoint> getExtensionLocations()
ExtensionPoint
.
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.)
UMLPackage.getExtend_ExtensionLocation()
ExtensionPoint getExtensionLocation(String name)
ExtensionPoint
with the specified 'Name' from the '
Extension Location' reference list.
name
- The 'Name' of the ExtensionPoint
to retrieve, or null
.ExtensionPoint
with the specified 'Name', or null
.getExtensionLocations()
ExtensionPoint getExtensionLocation(String name, boolean ignoreCase)
ExtensionPoint
with the specified 'Name' from the '
Extension Location' reference list.
name
- The 'Name' of the ExtensionPoint
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.ExtensionPoint
with the specified 'Name', or null
.getExtensionLocations()
UseCase getExtension()
Extend
'.
References the use case that represents the extension and owns the extend relationship.
setExtension(UseCase)
,
UMLPackage.getExtend_Extension()
,
UseCase.getExtends()
void setExtension(UseCase value)
Extension
' container reference.
value
- the new value of the 'Extension' container reference.getExtension()
boolean validateExtensionPoints(DiagnosticChain diagnostics, Map context)