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

All Superinterfaces:
ASTNode, DeclarativesContent, 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 isError()
          Returns the value of the 'Error' attribute.
 boolean isException()
          Returns the value of the 'Exception' attribute.
 boolean isGlobal()
          Returns the value of the 'Global' attribute.
 boolean isStandard()
          Returns the value of the 'Standard' attribute.
 void setError(boolean value)
          Sets the value of the 'Error' attribute.
 void setException(boolean value)
          Sets the value of the 'Exception' attribute.
 void setFileMode(OpenMode value)
          Sets the value of the 'File Mode' attribute.
 void setGlobal(boolean value)
          Sets the value of the 'Global' attribute.
 void setStandard(boolean value)
          Sets the value of the 'Standard' 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()

isStandard

boolean isStandard()
Returns the value of the 'Standard' attribute.

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

Returns:
the value of the 'Standard' attribute.
See Also:
setStandard(boolean), COBOLPackage.getExceptionUseStmt_Standard()

setStandard

void setStandard(boolean value)
Sets the value of the 'Standard' attribute.

Parameters:
value - the new value of the 'Standard' attribute.
See Also:
isStandard()

isException

boolean isException()
Returns the value of the 'Exception' attribute.

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

Returns:
the value of the 'Exception' attribute.
See Also:
setException(boolean), COBOLPackage.getExceptionUseStmt_Exception()

setException

void setException(boolean value)
Sets the value of the 'Exception' attribute.

Parameters:
value - the new value of the 'Exception' attribute.
See Also:
isException()

isError

boolean isError()
Returns the value of the 'Error' attribute.

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

Returns:
the value of the 'Error' attribute.
See Also:
setError(boolean), COBOLPackage.getExceptionUseStmt_Error()

setError

void setError(boolean value)
Sets the value of the 'Error' attribute.

Parameters:
value - the new value of the 'Error' attribute.
See Also:
isError()