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

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

public interface OpenObject
extends ASTNode

A representation of a file in an OPEN statement.

The following features are supported:

See Also:
COBOLPackage.getOpenObject()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 FileDescriptionEntry getFile()
          Returns the value of the 'File' reference.
 boolean isReversed()
          Returns the value of the 'Reversed' attribute.
 boolean isWithNoRewind()
          Returns the value of the 'With No Rewind' attribute.
 void setFile(FileDescriptionEntry value)
          Sets the value of the 'File' reference.
 void setReversed(boolean value)
          Sets the value of the 'Reversed' attribute.
 void setWithNoRewind(boolean value)
          Sets the value of the 'With No Rewind' 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

getFile

FileDescriptionEntry getFile()
Returns the value of the 'File' reference.

Returns:
the value of the 'File' reference.
See Also:
setFile(FileDescriptionEntry), COBOLPackage.getOpenObject_File()

setFile

void setFile(FileDescriptionEntry value)
Sets the value of the 'File' reference.

Parameters:
value - the new value of the 'File' reference.
See Also:
getFile()

isReversed

boolean isReversed()
Returns the value of the 'Reversed' attribute.

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

Returns:
the value of the 'Reversed' attribute.
See Also:
setReversed(boolean), COBOLPackage.getOpenObject_Reversed()

setReversed

void setReversed(boolean value)
Sets the value of the 'Reversed' attribute.

Parameters:
value - the new value of the 'Reversed' attribute.
See Also:
isReversed()

isWithNoRewind

boolean isWithNoRewind()
Returns the value of the 'With No Rewind' attribute.

The value is true if the WITH NO REWIND clause appears; false otherwise.

Returns:
the value of the 'With No Rewind' attribute.
See Also:
setWithNoRewind(boolean), COBOLPackage.getOpenObject_WithNoRewind()

setWithNoRewind

void setWithNoRewind(boolean value)
Sets the value of the 'With No Rewind' attribute.

Parameters:
value - the new value of the 'With No Rewind' attribute.
See Also:
isWithNoRewind()