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

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

public interface CallStmt
extends Stmt

A representation of a CALL statement in the PROCEDURE division.

The following features are supported:

See Also:
COBOLPackage.getCallStmt()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 java.util.List getNotOnException()
          Returns the value of the 'Not On Exception' containment reference list.
 java.util.List getOnException()
          Returns the value of the 'On Exception' containment reference list.
 java.util.List getOnOverflow()
          Returns the value of the 'On Overflow' containment reference list.
 DataRefOrLiteral getProgram()
          Returns the value of the 'Program' containment reference.
 DataRef getReturning()
          Returns the value of the 'Returning' containment reference.
 java.util.List getUsing()
          Returns the value of the 'Using' containment reference list.
 boolean isEndCallUsed()
          Returns the value of the 'End Call Used' attribute.
 void setEndCallUsed(boolean value)
          Sets the value of the 'End Call Used' attribute.
 void setProgram(DataRefOrLiteral value)
          Sets the value of the 'Program' containment reference.
 void setReturning(DataRef value)
          Sets the value of the 'Returning' 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

getProgram

DataRefOrLiteral getProgram()
Returns the value of the 'Program' containment reference.

The value is the data item or literal after the CALL keyword.

Returns:
the value of the 'Program' containment reference.
See Also:
setProgram(DataRefOrLiteral), COBOLPackage.getCallStmt_Program()

setProgram

void setProgram(DataRefOrLiteral value)
Sets the value of the 'Program' containment reference.

Parameters:
value - the new value of the 'Program' containment reference.
See Also:
getProgram()

getUsing

java.util.List getUsing()
Returns the value of the 'Using' containment reference list. The list contents are of type ActualParameter.

The list contains the parameters in the USING phrase.

Returns:
the value of the 'Using' containment reference list.
See Also:
COBOLPackage.getCallStmt_Using()

getReturning

DataRef getReturning()
Returns the value of the 'Returning' containment reference.

The value is the data item in the RETURNING clause.

Returns:
the value of the 'Returning' containment reference.
See Also:
setReturning(DataRef), COBOLPackage.getCallStmt_Returning()

setReturning

void setReturning(DataRef value)
Sets the value of the 'Returning' containment reference.

Parameters:
value - the new value of the 'Returning' containment reference.
See Also:
getReturning()

getOnException

java.util.List getOnException()
Returns the value of the 'On Exception' containment reference list. The list contents are of type Stmt.

The list contains the statements in the ON EXCEPTION phrase.

Returns:
the value of the 'On Exception' containment reference list.
See Also:
COBOLPackage.getCallStmt_OnException()

getNotOnException

java.util.List getNotOnException()
Returns the value of the 'Not On Exception' containment reference list. The list contents are of type Stmt.

The list contains the statements in the NOT ON EXCEPTION phrase.

Returns:
the value of the 'Not On Exception' containment reference list.
See Also:
COBOLPackage.getCallStmt_NotOnException()

getOnOverflow

java.util.List getOnOverflow()
Returns the value of the 'On Overflow' containment reference list. The list contents are of type Stmt.

The list contains the statements in the ON OVERFLOW phrase.

Returns:
the value of the 'On Overflow' containment reference list.
See Also:
COBOLPackage.getCallStmt_OnOverflow()

isEndCallUsed

boolean isEndCallUsed()
Returns the value of the 'End Call Used' attribute.

The value is true if END-CALL is present; false otherwise.

Returns:
the value of the 'End Call Used' attribute.
See Also:
setEndCallUsed(boolean), COBOLPackage.getCallStmt_EndCallUsed()

setEndCallUsed

void setEndCallUsed(boolean value)
Sets the value of the 'End Call Used' attribute.

Parameters:
value - the new value of the 'End Call Used' attribute.
See Also:
isEndCallUsed()