public interface Extend extends NamedElement, DirectedRelationship
A relationship from an extending UseCase to an extended UseCase that specifies how and when the behavior defined in the extending UseCase can be inserted into the behavior defined in the extended UseCase.
The following features are supported:
UMLPackage.getExtend()
Modifier and Type | Method and Description |
---|---|
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.
|
java.util.List<ExtensionPoint> |
getExtensionLocation()
Returns the value of the 'Extension Location' reference list.
|
boolean |
hasExtensionLocation() |
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. |
get_considerIgnoreFragmentOfMessage, get_durationObservationOfEvent, get_informationFlowOfInformationSource, get_informationFlowOfInformationTarget, get_messageOfSignature, get_namespaceOfMember, get_timeObservationOfEvent, getClientDependency, getName, getNameExpression, getNamespace, getQualifiedName, getSupplierDependency, getVisibility, has_considerIgnoreFragmentOfMessage, has_durationObservationOfEvent, has_informationFlowOfInformationSource, has_informationFlowOfInformationTarget, has_messageOfSignature, has_namespaceOfMember, has_timeObservationOfEvent, hasClientDependency, hasSupplierDependency, setName, setNameExpression, setNamespace, setVisibility
getSource, getTarget, hasSource, hasTarget
get_abstraction, getRelatedElement, has_abstraction, hasRelatedElement
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotypeInstance, getOwnedComment, getOwnedElement, getOwner, getSyncElement, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasOwnedComment, hasOwnedElement, setAppliedStereotypeInstance, setOwner, setSyncElement
get_representationText, getLocalID, isInvalid, set_representationText, setLocalID, sGetLocalID
getID, getMDExtension, getMdExtensions, setID
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
@CheckForNull UseCase getExtendedCase()
extend Of Extended Case
'.
The UseCase that is being extended.
setExtendedCase(UseCase)
,
UMLPackage.getExtend_ExtendedCase()
,
UseCase.get_extendOfExtendedCase()
void setExtendedCase(@CheckForNull UseCase value)
Extended Case
' reference.
value
- the new value of the 'Extended Case' reference.getExtendedCase()
@CheckForNull UseCase getExtension()
Extend
'.
The UseCase that represents the extension and owns the Extend relationship.
setExtension(UseCase)
,
UMLPackage.getExtend_Extension()
,
UseCase.getExtend()
void setExtension(@CheckForNull UseCase value)
Extension
' container reference.
value
- the new value of the 'Extension' container reference.getExtension()
@CheckForNull Constraint getCondition()
extend Of Condition
'.
References the condition that must hold when the first ExtensionPoint is reached for the extension to take place. If no constraint is associated with the Extend
relationship, the extension is unconditional.
setCondition(Constraint)
,
UMLPackage.getExtend_Condition()
,
Constraint.get_extendOfCondition()
void setCondition(@CheckForNull Constraint value)
Condition
' containment reference.
value
- the new value of the 'Condition' containment reference.getCondition()
java.util.List<ExtensionPoint> getExtensionLocation()
ExtensionPoint
.
It is bidirectional and its opposite is 'Extension
'.
An ordered list of ExtensionPoints belonging to the extended UseCase, specifying where the respective behavioral fragments of the extending UseCase are to be
inserted. The first fragment in the extending UseCase 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 UseCase has just a single behavior fragment, so that the list of ExtensionPoints is trivial.
UMLPackage.getExtend_ExtensionLocation()
,
ExtensionPoint.getExtension()
boolean hasExtensionLocation() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException