|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IfThenElseStmt
A representation of an IF statement in the PROCEDURE division. The END-IF keyword is not represented in the model.
The following features are supported:
COBOLPackage.getIfThenElseStmt()| Field Summary | |
|---|---|
static java.lang.String |
copyright
|
| Method Summary | |
|---|---|
ExprConditional |
getCondition()
Returns the value of the 'Condition' containment reference. |
Branch |
getElse()
Returns the value of the 'Else' containment reference. |
Branch |
getThen()
Returns the value of the 'Then' containment reference. |
boolean |
isEndIfUsed()
Returns the value of the 'End If Used' attribute. |
void |
setCondition(ExprConditional value)
Sets the value of the ' Condition' containment reference. |
void |
setElse(Branch value)
Sets the value of the ' Else' containment reference. |
void |
setEndIfUsed(boolean value)
Sets the value of the ' End If Used' attribute. |
void |
setThen(Branch value)
Sets the value of the ' Then' 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 |
|---|
static final java.lang.String copyright
| Method Detail |
|---|
ExprConditional getCondition()
The value is the conditional expression following the IF keyword.
setCondition(ExprConditional),
COBOLPackage.getIfThenElseStmt_Condition()void setCondition(ExprConditional value)
Condition' containment reference.
value - the new value of the 'Condition' containment reference.getCondition()Branch getThen()
The value is a representation of the statements in the THEN clause, or NEXT SENTENCE.
setThen(Branch),
COBOLPackage.getIfThenElseStmt_Then()void setThen(Branch value)
Then' containment reference.
value - the new value of the 'Then' containment reference.getThen()Branch getElse()
The value is a representation of the statements in the ELSE clause, or NEXT SENTENCE.
setElse(Branch),
COBOLPackage.getIfThenElseStmt_Else()void setElse(Branch value)
Else' containment reference.
value - the new value of the 'Else' containment reference.getElse()boolean isEndIfUsed()
The value is true if END-IF is present; false otherwise.
setEndIfUsed(boolean),
COBOLPackage.getIfThenElseStmt_EndIfUsed()void setEndIfUsed(boolean value)
End If Used' attribute.
value - the new value of the 'End If Used' attribute.isEndIfUsed()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||