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

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

public interface RewriteStmt
extends Stmt

A representation of a REWRITE statement in the PROCEDURE division.

The following features are supported:

See Also:
COBOLPackage.getRewriteStmt()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 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 getNotInvalidKey()
          Returns the value of the 'Not Invalid Key' containment reference list.
 DataItem getRecord()
          Returns the value of the 'Record' reference.
 boolean isEndRewriteUsed()
          Returns the value of the 'End Rewrite Used' attribute.
 void setEndRewriteUsed(boolean value)
          Sets the value of the 'End Rewrite 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.

Returns:
the value of the 'Record' reference.
See Also:
setRecord(DataItem), COBOLPackage.getRewriteStmt_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.

Returns:
the value of the 'From' containment reference.
See Also:
setFrom(DataRef), COBOLPackage.getRewriteStmt_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()

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 phrase.

Returns:
the value of the 'Invalid Key' containment reference list.
See Also:
COBOLPackage.getRewriteStmt_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 phrase.

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

isEndRewriteUsed

boolean isEndRewriteUsed()
Returns the value of the 'End Rewrite Used' attribute.

The value is true if END-REWRITE is used; false otherwise.

Returns:
the value of the 'End Rewrite Used' attribute.
See Also:
setEndRewriteUsed(boolean), COBOLPackage.getRewriteStmt_EndRewriteUsed()

setEndRewriteUsed

void setEndRewriteUsed(boolean value)
Sets the value of the 'End Rewrite Used' attribute.

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