|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Extend'. This relationship specifies that the behavior of a use case may be extended by the behavior of another (usually supplementary) use case. The extension takes place at one or more specific extension points defined in the extended use case. Note, however, that the extended use case is defined independently of the extending use case and is meaningful independently of the extending use case. On the other hand, the extending use case typically defines behavior that may not necessarily be meaningful by itself. Instead, the extending use case defines a set of modular behavior increments that augment an execution of the extended use case under specific conditions. Note that the same extending use case can extend more than one use case. Furthermore, an extending use case may itself be extended. It is a kind of DirectedRelationship, such that the source is the extending use case and the destination is the extended use case. It is also a kind of NamedElement so that it can have a name in the context of its owning use case. The extend relationship itself is owned by the extending use case.
The following features are supported:
UML2Package.getExtend()
Field Summary | |
static String |
copyright
|
Fields inherited from interface org.eclipse.uml2.NamedElement |
SEPARATOR |
Method Summary | |
Constraint |
createCondition(EClass eClass)
Creates a Constraint 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 unqualifiedName)
Retrieves the ExtensionPoint with the specified name from the 'Extension Location' reference list |
EList |
getExtensionLocations()
Returns the value of the 'Extension Location' reference list. |
EList |
getOwnedElements()
|
EList |
getSources()
|
EList |
getTargets()
|
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 |
Methods inherited from interface org.eclipse.uml2.NamedElement |
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, getNamespace, getOwner, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership |
Methods inherited from interface org.eclipse.uml2.TemplateableElement |
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature |
Methods inherited from interface org.eclipse.uml2.Element |
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
getEAnnotation, getEAnnotations |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.uml2.DirectedRelationship |
getRelatedElements |
Field Detail |
public static final String copyright
Method Detail |
public UseCase getExtendedCase()
If the meaning of the 'Extended Case' reference isn't clear, there really should be more of a description here...
References the use case that is being extended. (Specializes DirectedRelationship.target.)
setExtendedCase(UseCase)
,
UML2Package.getExtend_ExtendedCase()
public void setExtendedCase(UseCase value)
Extended Case
' reference.
value
- the new value of the 'Extended Case' reference.getExtendedCase()
public UseCase getExtension()
Extend
'.
If the meaning of the 'Extension' container reference isn't clear, there really should be more of a description here...
setExtension(UseCase)
,
UML2Package.getExtend_Extension()
,
UseCase.getExtends()
public void setExtension(UseCase value)
Extension
' container reference.
value
- the new value of the 'Extension' container reference.getExtension()
public Constraint getCondition()
If the meaning of the 'Condition' containment reference isn't clear, there really should be more of a description here...
setCondition(Constraint)
,
UML2Package.getExtend_Condition()
public void setCondition(Constraint value)
Condition
' containment reference.
value
- the new value of the 'Condition' containment reference.getCondition()
public Constraint createCondition(EClass eClass)
Constraint
and sets the 'Condition' containment reference.
eClass
- The Ecore class of the Constraint
to create.
Constraint
.getCondition()
public EList getExtensionLocations()
ExtensionPoint
.
If the meaning of the 'Extension Location' reference list isn't clear, there really should be more of a description here...
UML2Package.getExtend_ExtensionLocation()
public ExtensionPoint getExtensionLocation(String unqualifiedName)
ExtensionPoint
with the specified name from the 'Extension Location' reference list.
unqualifiedName
- The unqualified name of the ExtensionPoint
to retrieve.
ExtensionPoint
with the specified name, or null
.getExtensionLocations()
public EList getTargets()
getTargets
in interface DirectedRelationship
UML2Package.getDirectedRelationship_Target()
public EList getSources()
getSources
in interface DirectedRelationship
UML2Package.getDirectedRelationship_Source()
public EList getOwnedElements()
getOwnedElements
in interface NamedElement
|
Copyright 2003, 2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |