Interface Extend
- All Superinterfaces:
BaseElement
,Cloneable
,Comparable
,DirectedRelationship
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,com.dassault_systemes.modeler.foundation.model.ModelElement
,ModelObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
,Relationship
A representation of the model object 'Extend'.
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:
- See Also:
- Model:
- annotation="MOF package='mdusecases'"
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Condition' containment reference.Returns the value of the 'Extended Case' reference.Returns the value of the 'Extension' container reference.Returns the value of the 'Extension Location' reference list.boolean
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 com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, isEditable, removePropertyChangeListener, sGetID
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.DirectedRelationship
getSource, getTarget, hasSource, hasTarget
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElement
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setID
Methods inherited from interface com.dassault_systemes.modeler.foundation.model.ModelElement
canChangeElementOwner, eDynamicGet, getElementOwner, getLocalID, getObjectParent, setLocalID, sGetLocalID
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, ignoringRefGetValue, ignoringRefGetValue, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.NamedElement
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
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refInvokeOperation, refInvokeOperation, refSetValue
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Relationship
get_abstraction, getRelatedElement, has_abstraction, hasRelatedElement
-
Method Details
-
getExtendedCase
Returns the value of the 'Extended Case' reference. It is bidirectional and its opposite is 'extend Of Extended Case
'. The UseCase that is being extended.- Returns:
- the value of the 'Extended Case' reference.
- See Also:
- Model:
- opposite="_extendOfExtendedCase" required="true" ordered="false"
- Generated:
-
setExtendedCase
Sets the value of the 'Extended Case
' reference.- Parameters:
value
- the new value of the 'Extended Case' reference.- See Also:
- Generated:
-
getExtension
Returns the value of the 'Extension' container reference. It is bidirectional and its opposite is 'Extend
'. The UseCase that represents the extension and owns the Extend relationship.- Returns:
- the value of the 'Extension' container reference.
- See Also:
- Model:
- opposite="extend" required="true" transient="false" ordered="false"
- Generated:
-
setExtension
Sets the value of the 'Extension
' container reference.- Parameters:
value
- the new value of the 'Extension' container reference.- See Also:
- Generated:
-
getCondition
Returns the value of the 'Condition' containment reference. It is bidirectional and its opposite is '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.- Returns:
- the value of the 'Condition' containment reference.
- See Also:
- Model:
- opposite="_extendOfCondition" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
setCondition
Sets the value of the 'Condition
' containment reference.- Parameters:
value
- the new value of the 'Condition' containment reference.- See Also:
- Generated:
-
getExtensionLocation
List<ExtensionPoint> getExtensionLocation()Returns the value of the 'Extension Location' reference list. The list contents are of typeExtensionPoint
. 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.- Returns:
- the value of the 'Extension Location' reference list.
- See Also:
- Model:
- opposite="extension" required="true"
- Generated:
-
hasExtensionLocation
boolean hasExtensionLocation() throws javax.jmi.reflect.JmiException- Throws:
javax.jmi.reflect.JmiException
- Generated:
-