com.ibm.etools.cobol.application.model.cobol
Interface Branch

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

public interface Branch
extends ASTNode

A representation of the statements or NEXT SENTENCE in the ELSE and THEN clauses of an IF statement.

The following features are supported:

See Also:
COBOLPackage.getBranch()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 java.util.List getStatements()
          Returns the value of the 'Statements' containment reference list.
 boolean isNextSentence()
          Returns the value of the 'Next Sentence' attribute.
 void setNextSentence(boolean value)
          Sets the value of the 'Next Sentence' attribute.
 
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

isNextSentence

boolean isNextSentence()
Returns the value of the 'Next Sentence' attribute.

The value is true if NEXT SENTENCE is specified.

Returns:
the value of the 'Next Sentence' attribute.
See Also:
setNextSentence(boolean), COBOLPackage.getBranch_NextSentence()

setNextSentence

void setNextSentence(boolean value)
Sets the value of the 'Next Sentence' attribute.

Parameters:
value - the new value of the 'Next Sentence' attribute.
See Also:
isNextSentence()

getStatements

java.util.List getStatements()
Returns the value of the 'Statements' containment reference list. The list contents are of type Stmt.

Returns:
the value of the 'Statements' containment reference list.
See Also:
COBOLPackage.getBranch_Statements()