All Superinterfaces:
BaseElement, Behavior, BehavioredClassifier, Class, Classifier, Cloneable, Comparable, Element, EncapsulatedClassifier, org.eclipse.emf.ecore.EObject, MDObject, com.dassault_systemes.modeler.foundation.model.ModelElement, ModelObject, NamedElement, Namespace, org.eclipse.emf.common.notify.Notifier, PackageableElement, ParameterableElement, RedefinableElement, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject, StructuredClassifier, TemplateableElement, Type

public interface Activity extends Behavior
A representation of the model object 'Activity'.

An Activity is the specification of parameterized Behavior as the coordinated sequencing of subordinate units.

The following features are supported:

See Also:
Model:
annotation="MOF package='activities.mdfundamentalactivities'"
Generated:
  • Method Details

    • getEdge

      Returns the value of the 'Edge' containment reference list. The list contents are of type ActivityEdge. It is bidirectional and its opposite is 'Activity'. ActivityEdges expressing flow between the nodes of the Activity.
      Returns:
      the value of the 'Edge' containment reference list.
      See Also:
      Model:
      opposite="activity" containment="true" resolveProxies="true" ordered="false"
      Generated:
    • getGroup

      Returns the value of the 'Group' containment reference list. The list contents are of type ActivityGroup. It is bidirectional and its opposite is 'In Activity'. Top-level ActivityGroups in the Activity.
      Returns:
      the value of the 'Group' containment reference list.
      See Also:
      Model:
      opposite="inActivity" containment="true" resolveProxies="true" ordered="false"
      Generated:
    • isReadOnly

      boolean isReadOnly()
      Returns the value of the 'Read Only' attribute. The default value is "false". If true, this Activity must not make any changes to objects. The default is false (an Activity may make nonlocal changes). (This is an assertion, not an executable property. It may be used by an execution engine to optimize model execution. If the assertion is violated by the Activity, then the model is ill-formed.)
      Returns:
      the value of the 'Read Only' attribute.
      See Also:
      Model:
      default="false" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
      Generated:
    • setReadOnly

      void setReadOnly(boolean value)
      Sets the value of the 'Read Only' attribute.
      Parameters:
      value - the new value of the 'Read Only' attribute.
      See Also:
      Generated:
    • isSingleExecution

      boolean isSingleExecution()
      Returns the value of the 'Single Execution' attribute. The default value is "false". If true, all invocations of the Activity are handled by the same execution.
      Returns:
      the value of the 'Single Execution' attribute.
      See Also:
      Model:
      default="false" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
      Generated:
    • setSingleExecution

      void setSingleExecution(boolean value)
      Sets the value of the 'Single Execution' attribute.
      Parameters:
      value - the new value of the 'Single Execution' attribute.
      See Also:
      Generated:
    • getPartition

      Collection<ActivityPartition> getPartition()
      Returns the value of the 'Partition' reference list. The list contents are of type ActivityPartition. It is bidirectional and its opposite is 'activity Of Partition'. Top-level ActivityPartitions in the Activity.
      Returns:
      the value of the 'Partition' reference list.
      See Also:
      Model:
      opposite="_activityOfPartition" ordered="false"
      Generated:
    • getVariable

      Collection<Variable> getVariable()
      Returns the value of the 'Variable' containment reference list. The list contents are of type Variable. It is bidirectional and its opposite is 'Activity Scope'. Top-level Variables defined by the Activity.
      Returns:
      the value of the 'Variable' containment reference list.
      See Also:
      Model:
      opposite="activityScope" containment="true" resolveProxies="true" ordered="false"
      Generated:
    • getStructuredNode

      Collection<StructuredActivityNode> getStructuredNode()
      Returns the value of the 'Structured Node' reference list. The list contents are of type StructuredActivityNode. It is bidirectional and its opposite is 'Activity'. Top-level StructuredActivityNodes in the Activity.
      Returns:
      the value of the 'Structured Node' reference list.
      See Also:
      Model:
      opposite="activity" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
      Generated:
    • getNode

      Returns the value of the 'Node' containment reference list. The list contents are of type ActivityNode. It is bidirectional and its opposite is 'Activity'. ActivityNodes coordinated by the Activity.
      Returns:
      the value of the 'Node' containment reference list.
      See Also:
      Model:
      opposite="activity" containment="true" resolveProxies="true" ordered="false"
      Generated:
    • hasEdge

      boolean hasEdge() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated:
    • hasGroup

      boolean hasGroup() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated:
    • hasPartition

      boolean hasPartition() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated:
    • hasVariable

      boolean hasVariable() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated:
    • hasStructuredNode

      boolean hasStructuredNode() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated:
    • hasNode

      boolean hasNode() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated: