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

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

public interface LabelUseStmt
extends UseStmt

A representation of a label declarative.

The following features are supported:

See Also:
COBOLPackage.getLabelUseStmt()

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 isBeginning()
          Returns the value of the 'Beginning' attribute.
 boolean isEnding()
          Returns the value of the 'Ending' attribute.
 boolean isFile()
          Returns the value of the 'File' attribute.
 boolean isGlobal()
          Returns the value of the 'Global' attribute.
 boolean isReel()
          Returns the value of the 'Reel' attribute.
 boolean isStandard()
          Returns the value of the 'Standard' attribute.
 boolean isUnit()
          Returns the value of the 'Unit' attribute.
 void setBeginning(boolean value)
          Sets the value of the 'Beginning' attribute.
 void setEnding(boolean value)
          Sets the value of the 'Ending' attribute.
 void setFile(boolean value)
          Sets the value of the 'File' 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 setReel(boolean value)
          Sets the value of the 'Reel' attribute.
 void setStandard(boolean value)
          Sets the value of the 'Standard' attribute.
 void setUnit(boolean value)
          Sets the value of the 'Unit' 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.getLabelUseStmt_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.getLabelUseStmt_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.getLabelUseStmt_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.getLabelUseStmt_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()

isBeginning

boolean isBeginning()
Returns the value of the 'Beginning' attribute.

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

Returns:
the value of the 'Beginning' attribute.
See Also:
setBeginning(boolean), COBOLPackage.getLabelUseStmt_Beginning()

setBeginning

void setBeginning(boolean value)
Sets the value of the 'Beginning' attribute.

Parameters:
value - the new value of the 'Beginning' attribute.
See Also:
isBeginning()

isEnding

boolean isEnding()
Returns the value of the 'Ending' attribute.

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

Returns:
the value of the 'Ending' attribute.
See Also:
setEnding(boolean), COBOLPackage.getLabelUseStmt_Ending()

setEnding

void setEnding(boolean value)
Sets the value of the 'Ending' attribute.

Parameters:
value - the new value of the 'Ending' attribute.
See Also:
isEnding()

isFile

boolean isFile()
Returns the value of the 'File' attribute.

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

Returns:
the value of the 'File' attribute.
See Also:
setFile(boolean), COBOLPackage.getLabelUseStmt_File()

setFile

void setFile(boolean value)
Sets the value of the 'File' attribute.

Parameters:
value - the new value of the 'File' attribute.
See Also:
isFile()

isReel

boolean isReel()
Returns the value of the 'Reel' attribute.

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

Returns:
the value of the 'Reel' attribute.
See Also:
setReel(boolean), COBOLPackage.getLabelUseStmt_Reel()

setReel

void setReel(boolean value)
Sets the value of the 'Reel' attribute.

Parameters:
value - the new value of the 'Reel' attribute.
See Also:
isReel()

isUnit

boolean isUnit()
Returns the value of the 'Unit' attribute.

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

Returns:
the value of the 'Unit' attribute.
See Also:
setUnit(boolean), COBOLPackage.getLabelUseStmt_Unit()

setUnit

void setUnit(boolean value)
Sets the value of the 'Unit' attribute.

Parameters:
value - the new value of the 'Unit' attribute.
See Also:
isUnit()