Interface Variable

  • All Superinterfaces:
    BaseElement, java.lang.Cloneable, java.lang.Comparable, ConnectableElement, Element, org.eclipse.emf.ecore.EObject, MDObject, com.dassault_systemes.modeler.foundation.model.ModelElement, ModelObject, MultiplicityElement, NamedElement, org.eclipse.emf.common.notify.Notifier, ParameterableElement, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject, TypedElement

    public interface Variable
    extends ConnectableElement, MultiplicityElement
    A representation of the model object 'Variable'.

    A Variable is a ConnectableElement that may store values during the execution of an Activity. Reading and writing the values of a Variable provides an alternative means for passing data than the use of ObjectFlows. A Variable may be owned directly by an Activity, in which case it is accessible from anywhere within that activity, or it may be owned by a StructuredActivityNode, in which case it is only accessible within that node.

    The following features are supported:

    See Also:
    UMLPackage.getVariable()
    Model:
    annotation="MOF package='activities.mdstructuredactivities'"
    Generated:
    • Method Detail

      • setScope

        void setScope​(@CheckForNull
                      StructuredActivityNode value)
        Sets the value of the 'Scope' container reference.
        Parameters:
        value - the new value of the 'Scope' container reference.
        See Also:
        getScope()
        Generated:
      • setActivityScope

        void setActivityScope​(@CheckForNull
                              Activity value)
        Sets the value of the 'Activity Scope' container reference.
        Parameters:
        value - the new value of the 'Activity Scope' container reference.
        See Also:
        getActivityScope()
        Generated:
      • get_variableActionOfVariable

        java.util.Collection<VariableAction> get_variableActionOfVariable()
        Returns the value of the 'variable Action Of Variable' reference list. The list contents are of type VariableAction. It is bidirectional and its opposite is 'Variable'.

        If the meaning of the 'variable Action Of Variable' reference list isn't clear, there really should be more of a description here...

        Returns:
        the value of the 'variable Action Of Variable' reference list.
        See Also:
        UMLPackage.getVariable__variableActionOfVariable(), VariableAction.getVariable()
        Model:
        opposite="variable" ordered="false"
        Generated:
      • has_variableActionOfVariable

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