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

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:
Model:
annotation="MOF package='mdusecases'"
Generated:
  • Method Details

    • 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:
      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:
      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:
      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:
      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:
      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:
      Generated:
    • getExtensionLocation

      List<ExtensionPoint> getExtensionLocation()
      Returns the value of the 'Extension Location' reference list. The list contents are of type 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.
      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: