All Superinterfaces:
BaseElement, Cloneable, Comparable, Element, org.eclipse.emf.ecore.EObject, MDObject, com.dassault_systemes.modeler.foundation.model.ModelElement, ModelObject, org.eclipse.emf.common.notify.Notifier, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject

public interface Clause extends Element
A representation of the model object 'Clause'.

A Clause is an Element that represents a single branch of a ConditionalNode, including a test and a body section. The body section is executed only if (but not necessarily if) the test section evaluates to true.

The following features are supported:

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

    • getTest

      Returns the value of the 'Test' reference list. The list contents are of type ExecutableNode. It is bidirectional and its opposite is 'clause Of Test'. The set of ExecutableNodes that are executed in order to provide a test result for the Clause.
      Returns:
      the value of the 'Test' reference list.
      See Also:
      Model:
      opposite="_clauseOfTest" required="true" ordered="false"
      Generated:
    • getBody

      Returns the value of the 'Body' reference list. The list contents are of type ExecutableNode. It is bidirectional and its opposite is 'clause Of Body'. The set of ExecutableNodes that are executed if the test evaluates to true and the Clause is chosen over other Clauses within the ConditionalNode that also have tests that evaluate to true.
      Returns:
      the value of the 'Body' reference list.
      See Also:
      Model:
      opposite="_clauseOfBody" ordered="false"
      Generated:
    • getPredecessorClause

      Collection<Clause> getPredecessorClause()
      Returns the value of the 'Predecessor Clause' reference list. The list contents are of type Clause. It is bidirectional and its opposite is 'Successor Clause'. A set of Clauses whose tests must all evaluate to false before this Clause can evaluate its test.
      Returns:
      the value of the 'Predecessor Clause' reference list.
      See Also:
      Model:
      opposite="successorClause" ordered="false"
      Generated:
    • getSuccessorClause

      Collection<Clause> getSuccessorClause()
      Returns the value of the 'Successor Clause' reference list. The list contents are of type Clause. It is bidirectional and its opposite is 'Predecessor Clause'. A set of Clauses that may not evaluate their tests unless the test for this Clause evaluates to false.
      Returns:
      the value of the 'Successor Clause' reference list.
      See Also:
      Model:
      opposite="predecessorClause" ordered="false"
      Generated:
    • getBodyOutput

      List<OutputPin> getBodyOutput()
      Returns the value of the 'Body Output' reference list. The list contents are of type OutputPin. It is bidirectional and its opposite is 'clause Of Body Output'. The OutputPins on Actions within the body section whose values are moved to the result OutputPins of the containing ConditionalNode after execution of the body.
      Returns:
      the value of the 'Body Output' reference list.
      See Also:
      Model:
      opposite="_clauseOfBodyOutput"
      Generated:
    • get_conditionalNodeOfClause

      @CheckForNull ConditionalNode get_conditionalNodeOfClause()
      Returns the value of the 'conditional Node Of Clause' container reference. It is bidirectional and its opposite is 'Clause'.

      If the meaning of the 'conditional Node Of Clause' container reference isn't clear, there really should be more of a description here...

      Returns:
      the value of the 'conditional Node Of Clause' container reference.
      See Also:
      Model:
      opposite="clause" required="true" transient="false" ordered="false"
      Generated:
    • set_conditionalNodeOfClause

      void set_conditionalNodeOfClause(@CheckForNull ConditionalNode value)
      Sets the value of the 'conditional Node Of Clause' container reference.
      Parameters:
      value - the new value of the 'conditional Node Of Clause' container reference.
      See Also:
      Generated:
    • getDecider

      @CheckForNull OutputPin getDecider()
      Returns the value of the 'Decider' reference. It is bidirectional and its opposite is 'clause Of Decider'. An OutputPin on an Action in the test section whose Boolean value determines the result of the test.
      Returns:
      the value of the 'Decider' reference.
      See Also:
      Model:
      opposite="_clauseOfDecider" required="true" ordered="false"
      Generated:
    • setDecider

      void setDecider(@CheckForNull OutputPin value)
      Sets the value of the 'Decider' reference.
      Parameters:
      value - the new value of the 'Decider' reference.
      See Also:
      Generated:
    • hasTest

      boolean hasTest() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated:
    • hasBody

      boolean hasBody() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated:
    • hasPredecessorClause

      boolean hasPredecessorClause() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated:
    • hasSuccessorClause

      boolean hasSuccessorClause() throws javax.jmi.reflect.JmiException
      Throws:
      javax.jmi.reflect.JmiException
      Generated:
    • hasBodyOutput

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