All Superinterfaces:
BaseElement, Cloneable, 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 Parameter extends ConnectableElement, MultiplicityElement
A representation of the model object 'Parameter'.

A Parameter is a specification of an argument used to pass information into or out of an invocation of a BehavioralFeature. Parameters can be treated as ConnectableElements within Collaborations.

The following features are supported:

See Also:
Model:
annotation="MOF package='classes.mdkernel'"
Generated:
  • Method Details

    • getParameterSet

      Collection<ParameterSet> getParameterSet()
      Returns the value of the 'Parameter Set' reference list. The list contents are of type ParameterSet. It is bidirectional and its opposite is 'Parameter'. The ParameterSets containing the parameter. See ParameterSet.
      Returns:
      the value of the 'Parameter Set' reference list.
      See Also:
      Model:
      opposite="parameter" ordered="false"
      Generated:
    • get_behaviorOfOwnedParameter

      @CheckForNull Behavior get_behaviorOfOwnedParameter()
      Returns the value of the 'behavior Of Owned Parameter' container reference. It is bidirectional and its opposite is 'Owned Parameter'.

      If the meaning of the 'behavior Of Owned Parameter' container reference isn't clear, there really should be more of a description here...

      Returns:
      the value of the 'behavior Of Owned Parameter' container reference.
      See Also:
      Model:
      opposite="ownedParameter" transient="false" ordered="false"
      Generated:
    • set_behaviorOfOwnedParameter

      void set_behaviorOfOwnedParameter(@CheckForNull Behavior value)
      Sets the value of the 'behavior Of Owned Parameter' container reference.
      Parameters:
      value - the new value of the 'behavior Of Owned Parameter' container reference.
      See Also:
      Generated:
    • get_activityParameterNodeOfParameter

      Collection<ActivityParameterNode> get_activityParameterNodeOfParameter()
      Returns the value of the 'activity Parameter Node Of Parameter' reference list. The list contents are of type ActivityParameterNode. It is bidirectional and its opposite is 'Parameter'.

      If the meaning of the 'activity Parameter Node Of Parameter' reference list isn't clear, there really should be more of a description here...

      Returns:
      the value of the 'activity Parameter Node Of Parameter' reference list.
      See Also:
      Model:
      opposite="parameter" ordered="false"
      Generated:
    • getDirection

      @CheckForNull ParameterDirectionKind getDirection()
      Returns the value of the 'Direction' attribute. The default value is "in". The literals are from the enumeration ParameterDirectionKind. Indicates whether a parameter is being sent into or out of a behavioral element.
      Returns:
      the value of the 'Direction' attribute.
      See Also:
      Model:
      default="in" required="true" ordered="false"
      Generated:
    • setDirection

      void setDirection(@CheckForNull ParameterDirectionKind value)
      Sets the value of the 'Direction' attribute.
      Parameters:
      value - the new value of the 'Direction' attribute.
      See Also:
      Generated:
    • getDefault

      @CheckForNull String getDefault()
      Returns the value of the 'Default' attribute. The default value is "". A String that represents a value to be used when no argument is supplied for the Parameter.
      Returns:
      the value of the 'Default' attribute.
      See Also:
      Model:
      default="" dataType="com.nomagic.uml2.ext.magicdraw.String" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
      Generated:
    • getDefaultValue

      @CheckForNull ValueSpecification getDefaultValue()
      Returns the value of the 'Default Value' containment reference. It is bidirectional and its opposite is 'Owning Parameter'. Specifies a ValueSpecification that represents a value to be used when no argument is supplied for the Parameter.
      Returns:
      the value of the 'Default Value' containment reference.
      See Also:
      Model:
      opposite="owningParameter" containment="true" resolveProxies="true" ordered="false"
      Generated:
    • setDefaultValue

      void setDefaultValue(@CheckForNull ValueSpecification value)
      Sets the value of the 'Default Value' containment reference.
      Parameters:
      value - the new value of the 'Default Value' containment reference.
      See Also:
      Generated:
    • getOperation

      @CheckForNull Operation getOperation()
      Returns the value of the 'Operation' container reference. It is bidirectional and its opposite is 'Owned Parameter'. The Operation owning this parameter.
      Returns:
      the value of the 'Operation' container reference.
      See Also:
      Model:
      opposite="ownedParameter" volatile="true" ordered="false"
      Generated:
    • setOperation

      void setOperation(@CheckForNull Operation value)
      Sets the value of the 'Operation' container reference.
      Parameters:
      value - the new value of the 'Operation' container reference.
      See Also:
      Generated:
    • getEffect

      @CheckForNull ParameterEffectKind getEffect()
      Returns the value of the 'Effect' attribute. Specifies the effect that executions of the owner of the Parameter have on objects passed in or out of the parameter.
      Returns:
      the value of the 'Effect' attribute.
      See Also:
      Model:
      dataType="com.nomagic.uml2.ext.magicdraw.ParameterParameterEffectKind" ordered="false"
      Generated:
    • setEffect

      void setEffect(@CheckForNull ParameterEffectKind value)
      Sets the value of the 'Effect' attribute.
      Parameters:
      value - the new value of the 'Effect' attribute.
      See Also:
      Generated:
    • isException

      boolean isException()
      Returns the value of the 'Exception' attribute. The default value is "false". Tells whether an output parameter may emit a value to the exclusion of the other outputs.
      Returns:
      the value of the 'Exception' attribute.
      See Also:
      Model:
      default="false" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
      Generated:
    • setException

      void setException(boolean value)
      Sets the value of the 'Exception' attribute.
      Parameters:
      value - the new value of the 'Exception' attribute.
      See Also:
      Generated:
    • isStream

      boolean isStream()
      Returns the value of the 'Stream' attribute. The default value is "false". Tells whether an input parameter may accept values while its behavior is executing, or whether an output parameter may post values while the behavior is executing.
      Returns:
      the value of the 'Stream' attribute.
      See Also:
      • setStream(boolean)
      • com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getParameter_Stream()
      Model:
      default="false" dataType="com.nomagic.uml2.ext.magicdraw.Boolean" required="true" ordered="false"
      Generated:
    • setStream

      void setStream(boolean value)
      Sets the value of the 'Stream' attribute.
      Parameters:
      value - the new value of the 'Stream' attribute.
      See Also:
      Generated:
    • getOwnerFormalParam

      @CheckForNull BehavioralFeature getOwnerFormalParam()
      Returns the value of the 'Owner Formal Param' container reference. It is bidirectional and its opposite is 'Owned Parameter'.

      If the meaning of the 'Owner Formal Param' container reference isn't clear, there really should be more of a description here...

      Returns:
      the value of the 'Owner Formal Param' container reference.
      See Also:
      Model:
      opposite="ownedParameter" transient="false" ordered="false"
      Generated:
    • setOwnerFormalParam

      void setOwnerFormalParam(@CheckForNull BehavioralFeature value)
      Sets the value of the 'Owner Formal Param' container reference.
      Parameters:
      value - the new value of the 'Owner Formal Param' container reference.
      See Also:
      Generated:
    • hasParameterSet

      boolean hasParameterSet() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated:
    • has_activityParameterNodeOfParameter

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