Interface Extend
-
- All Superinterfaces:
BaseElement
,java.lang.Cloneable
,java.lang.Comparable
,DirectedRelationship
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,ModelObject
,NamedElement
,org.eclipse.emf.common.notify.Notifier
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
,Relationship
public interface Extend extends NamedElement, DirectedRelationship
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:
UMLPackage.getExtend()
- Model:
- annotation="MOF package='mdusecases'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
-
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.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, getLocalID, ignoringRefGetValue, ignoringRefGetValue, isInvalid, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText, setLocalID, sGetLocalID
-
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 Detail
-
getExtendedCase
@CheckForNull UseCase 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:
setExtendedCase(UseCase)
,UMLPackage.getExtend_ExtendedCase()
,UseCase.get_extendOfExtendedCase()
- Model:
- opposite="_extendOfExtendedCase" required="true" ordered="false"
- Generated:
-
setExtendedCase
void setExtendedCase(@CheckForNull UseCase value)
Sets the value of the 'Extended Case
' reference.- Parameters:
value
- the new value of the 'Extended Case' reference.- See Also:
getExtendedCase()
- Generated:
-
getExtension
@CheckForNull UseCase 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:
setExtension(UseCase)
,UMLPackage.getExtend_Extension()
,UseCase.getExtend()
- Model:
- opposite="extend" required="true" transient="false" ordered="false"
- Generated:
-
setExtension
void setExtension(@CheckForNull UseCase value)
Sets the value of the 'Extension
' container reference.- Parameters:
value
- the new value of the 'Extension' container reference.- See Also:
getExtension()
- Generated:
-
getCondition
@CheckForNull Constraint 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:
setCondition(Constraint)
,UMLPackage.getExtend_Condition()
,Constraint.get_extendOfCondition()
- Model:
- opposite="_extendOfCondition" containment="true" resolveProxies="true" ordered="false"
- Generated:
-
setCondition
void setCondition(@CheckForNull Constraint value)
Sets the value of the 'Condition
' containment reference.- Parameters:
value
- the new value of the 'Condition' containment reference.- See Also:
getCondition()
- Generated:
-
getExtensionLocation
java.util.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:
UMLPackage.getExtend_ExtensionLocation()
,ExtensionPoint.getExtension()
- Model:
- opposite="extension" required="true"
- Generated:
-
hasExtensionLocation
boolean hasExtensionLocation() throws javax.jmi.reflect.JmiException
- Throws:
javax.jmi.reflect.JmiException
- Generated:
-
-