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()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 ExprConditional getCondition()
          Returns the value of the 'Condition' containment reference.
 Branch getDo()
          Returns the value of the 'Do' containment reference.
 void setCondition(ExprConditional value)
          Sets the value of the 'Condition' containment reference.
 void setDo(Branch value)
          Sets the value of the 'Do' containment reference.
 
Methods inherited from interface com.ibm.etools.cobol.application.model.cobol.ASTNode
getBeginColumn, getBeginFile, getBeginLine, getEndColumn, getEndFile, getEndLine, getParent, getTag, setBeginColumn, setBeginFile, setBeginLine, setEndColumn, setEndFile, setEndLine, setParent, setTag
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Field Detail

copyright

static final java.lang.String copyright

See Also:
Constant Field Values
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()