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

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

public interface WriteStmt
extends Stmt

A representation of a WRITE statement in the PROCEDURE division.

The following features are supported:

See Also:
COBOLPackage.getWriteStmt()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 WriteAdvancingClause getAdvancingClause()
          Returns the value of the 'Advancing Clause' containment reference.
 java.util.List getAtEndOfPage()
          Returns the value of the 'At End Of Page' containment reference list.
 DataRef getFrom()
          Returns the value of the 'From' containment reference.
 java.util.List getInvalidKey()
          Returns the value of the 'Invalid Key' containment reference list.
 java.util.List getNotAtEndOfPage()
          Returns the value of the 'Not At End Of Page' containment reference list.
 java.util.List getNotInvalidKey()
          Returns the value of the 'Not Invalid Key' containment reference list.
 DataItem getRecord()
          Returns the value of the 'Record' reference.
 boolean isEndWriteUsed()
          Returns the value of the 'End Write Used' attribute.
 void setAdvancingClause(WriteAdvancingClause value)
          Sets the value of the 'Advancing Clause' containment reference.
 void setEndWriteUsed(boolean value)
          Sets the value of the 'End Write Used' attribute.
 void setFrom(DataRef value)
          Sets the value of the 'From' containment reference.
 void setRecord(DataItem value)
          Sets the value of the 'Record' reference.
 
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

getRecord

DataItem getRecord()
Returns the value of the 'Record' reference.

The value is the data item specified after the WRITE keyword.

Returns:
the value of the 'Record' reference.
See Also:
setRecord(DataItem), COBOLPackage.getWriteStmt_Record()

setRecord

void setRecord(DataItem value)
Sets the value of the 'Record' reference.

Parameters:
value - the new value of the 'Record' reference.
See Also:
getRecord()

getFrom

DataRef getFrom()
Returns the value of the 'From' containment reference.

The value is a reference to the data item in the FROM clause.

Returns:
the value of the 'From' containment reference.
See Also:
setFrom(DataRef), COBOLPackage.getWriteStmt_From()

setFrom

void setFrom(DataRef value)
Sets the value of the 'From' containment reference.

Parameters:
value - the new value of the 'From' containment reference.
See Also:
getFrom()

getAdvancingClause

WriteAdvancingClause getAdvancingClause()
Returns the value of the 'Advancing Clause' containment reference.

The value is a representation of the ADVANCING phrase.

Returns:
the value of the 'Advancing Clause' containment reference.
See Also:
setAdvancingClause(WriteAdvancingClause), COBOLPackage.getWriteStmt_AdvancingClause()

setAdvancingClause

void setAdvancingClause(WriteAdvancingClause value)
Sets the value of the 'Advancing Clause' containment reference.

Parameters:
value - the new value of the 'Advancing Clause' containment reference.
See Also:
getAdvancingClause()

getAtEndOfPage

java.util.List getAtEndOfPage()
Returns the value of the 'At End Of Page' containment reference list. The list contents are of type Stmt.

The list contains the statements in the AT END-OF-PAGE clause.

Returns:
the value of the 'At End Of Page' containment reference list.
See Also:
COBOLPackage.getWriteStmt_AtEndOfPage()

getNotAtEndOfPage

java.util.List getNotAtEndOfPage()
Returns the value of the 'Not At End Of Page' containment reference list. The list contents are of type Stmt.

The list contains the statements in the NOT AT END-OF-PAGE clause.

Returns:
the value of the 'Not At End Of Page' containment reference list.
See Also:
COBOLPackage.getWriteStmt_NotAtEndOfPage()

getInvalidKey

java.util.List getInvalidKey()
Returns the value of the 'Invalid Key' containment reference list. The list contents are of type Stmt.

The list contains the statements in the INVALID KEY clause.

Returns:
the value of the 'Invalid Key' containment reference list.
See Also:
COBOLPackage.getWriteStmt_InvalidKey()

getNotInvalidKey

java.util.List getNotInvalidKey()
Returns the value of the 'Not Invalid Key' containment reference list. The list contents are of type Stmt.

The list contains the statements in the NOT INVALID KEY clause.

Returns:
the value of the 'Not Invalid Key' containment reference list.
See Also:
COBOLPackage.getWriteStmt_NotInvalidKey()

isEndWriteUsed

boolean isEndWriteUsed()
Returns the value of the 'End Write Used' attribute.

The value is true if END-WRITE is present; false otherwise.

Returns:
the value of the 'End Write Used' attribute.
See Also:
setEndWriteUsed(boolean), COBOLPackage.getWriteStmt_EndWriteUsed()

setEndWriteUsed

void setEndWriteUsed(boolean value)
Sets the value of the 'End Write Used' attribute.

Parameters:
value - the new value of the 'End Write Used' attribute.
See Also:
isEndWriteUsed()