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

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

public interface OpenClause
extends ASTNode

A representation of the INPUT, OUTPUT, I-O, and EXTEND phrases in an OPEN statement.

The following features are supported:

See Also:
COBOLPackage.getOpenClause()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 OpenMode getMode()
          Returns the value of the 'Mode' attribute.
 java.util.List getObjects()
          Returns the value of the 'Objects' containment reference list.
 void setMode(OpenMode value)
          Sets the value of the 'Mode' 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

getMode

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

The value represents either INPUT, OUTPUT, I-O, or EXTEND.

Returns:
the value of the 'Mode' attribute.
See Also:
OpenMode, setMode(OpenMode), COBOLPackage.getOpenClause_Mode()

setMode

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

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

getObjects

java.util.List getObjects()
Returns the value of the 'Objects' containment reference list. The list contents are of type OpenObject.

The list contains the files.

Returns:
the value of the 'Objects' containment reference list.
See Also:
COBOLPackage.getOpenClause_Objects()