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

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

public interface ExceptionUseStmt
extends UseStmt

A representation of an EXCEPTION declarative in the declaratives section of the PROCEDURE division.

The following features are supported:

See Also:
COBOLPackage.getExceptionUseStmt()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 OpenMode getFileMode()
          Returns the value of the 'File Mode' attribute.
 java.util.List getFiles()
          Returns the value of the 'Files' reference list.
 boolean isGlobal()
          Returns the value of the 'Global' attribute.
 void setFileMode(OpenMode value)
          Sets the value of the 'File Mode' attribute.
 void setGlobal(boolean value)
          Sets the value of the 'Global' 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

isGlobal

boolean isGlobal()
Returns the value of the 'Global' attribute.

The value is true if the GLOBAL keyword is present; false otherwise.

Returns:
the value of the 'Global' attribute.
See Also:
setGlobal(boolean), COBOLPackage.getExceptionUseStmt_Global()

setGlobal

void setGlobal(boolean value)
Sets the value of the 'Global' attribute.

Parameters:
value - the new value of the 'Global' attribute.
See Also:
isGlobal()

getFiles

java.util.List getFiles()
Returns the value of the 'Files' reference list. The list contents are of type FileDescriptionEntry.

The list contains the files specified in the ON clause.

Returns:
the value of the 'Files' reference list.
See Also:
COBOLPackage.getExceptionUseStmt_Files()

getFileMode

OpenMode getFileMode()
Returns the value of the 'File Mode' attribute. The literals are from the enumeration OpenMode.

The value is a representation of either INPUT, OUTPUT, I-O, or EXTEND.

Returns:
the value of the 'File Mode' attribute.
See Also:
OpenMode, setFileMode(OpenMode), COBOLPackage.getExceptionUseStmt_FileMode()

setFileMode

void setFileMode(OpenMode value)
Sets the value of the 'File Mode' attribute.

Parameters:
value - the new value of the 'File Mode' attribute.
See Also:
OpenMode, getFileMode()