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

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

public interface CloseObject
extends ASTNode

A representation of a phrase describing a file in a CLOSE statement.

The following features are supported:

See Also:
COBOLPackage.getCloseObject()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 FileDescriptionEntry getFile()
          Returns the value of the 'File' reference.
 CloseReelOrUnit getReelOrUnit()
          Returns the value of the 'Reel Or Unit' containment reference.
 boolean isWithLock()
          Returns the value of the 'With Lock' attribute.
 boolean isWithNoRewind()
          Returns the value of the 'With No Rewind' attribute.
 void setFile(FileDescriptionEntry value)
          Sets the value of the 'File' reference.
 void setReelOrUnit(CloseReelOrUnit value)
          Sets the value of the 'Reel Or Unit' containment reference.
 void setWithLock(boolean value)
          Sets the value of the 'With Lock' 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.getCloseObject_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()

getReelOrUnit

CloseReelOrUnit getReelOrUnit()
Returns the value of the 'Reel Or Unit' containment reference.

The value represents the REEL or UNIT clauses.

Returns:
the value of the 'Reel Or Unit' containment reference.
See Also:
setReelOrUnit(CloseReelOrUnit), COBOLPackage.getCloseObject_ReelOrUnit()

setReelOrUnit

void setReelOrUnit(CloseReelOrUnit value)
Sets the value of the 'Reel Or Unit' containment reference.

Parameters:
value - the new value of the 'Reel Or Unit' containment reference.
See Also:
getReelOrUnit()

isWithNoRewind

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

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

Returns:
the value of the 'With No Rewind' attribute.
See Also:
setWithNoRewind(boolean), COBOLPackage.getCloseObject_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()

isWithLock

boolean isWithLock()
Returns the value of the 'With Lock' attribute.

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

Returns:
the value of the 'With Lock' attribute.
See Also:
setWithLock(boolean), COBOLPackage.getCloseObject_WithLock()

setWithLock

void setWithLock(boolean value)
Sets the value of the 'With Lock' attribute.

Parameters:
value - the new value of the 'With Lock' attribute.
See Also:
isWithLock()