com.ibm.etools.cobol.application.model.cobol

Interface SearchWhenClause

  • All Superinterfaces:
    ASTNode, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier


    public interface SearchWhenClause
    extends ASTNode
    A representation of a WHEN clause in a SEARCH statement.

    The following features are supported:

    See Also:
    COBOLPackage.getSearchWhenClause()
    • Method Detail

      • getCondition

        ExprConditional getCondition()
        Returns the value of the 'Condition' containment reference.

        The value is the conditional expression.

        Returns:
        the value of the 'Condition' containment reference.
        See Also:
        setCondition(ExprConditional), COBOLPackage.getSearchWhenClause_Condition()
      • setCondition

        void setCondition(ExprConditional value)
        Sets the value of the 'Condition' containment reference.
        Parameters:
        value - the new value of the 'Condition' containment reference.
        See Also:
        getCondition()
      • getDo

        Branch getDo()
        Returns the value of the 'Do' containment reference.

        The value represents either iterative statements or NEXT SENTENCE.

        Returns:
        the value of the 'Do' containment reference.
        See Also:
        setDo(Branch), COBOLPackage.getSearchWhenClause_Do()
      • setDo

        void setDo(Branch value)
        Sets the value of the 'Do' containment reference.
        Parameters:
        value - the new value of the 'Do' containment reference.
        See Also:
        getDo()