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

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

public interface InspectReplacingAllOrLeadingOrFirstClause
extends ASTNode

A representation of the part of an ALL, LEADING, or FIRST clause after the first keyword within the REPLACING clause of an INSPECT statement.

The following features are supported:

See Also:
COBOLPackage.getInspectReplacingAllOrLeadingOrFirstClause()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 java.util.List getBeforeOrAfterClauses()
          Returns the value of the 'Before Or After Clauses' containment reference list.
 DataRefOrLiteral getReplace()
          Returns the value of the 'Replace' containment reference.
 DataRefOrLiteral getReplaceBy()
          Returns the value of the 'Replace By' containment reference.
 void setReplace(DataRefOrLiteral value)
          Sets the value of the 'Replace' containment reference.
 void setReplaceBy(DataRefOrLiteral value)
          Sets the value of the 'Replace By' containment 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

getReplace

DataRefOrLiteral getReplace()
Returns the value of the 'Replace' containment reference.

The value is the data item or literal specified before the BY keyword.

Returns:
the value of the 'Replace' containment reference.
See Also:
setReplace(DataRefOrLiteral), COBOLPackage.getInspectReplacingAllOrLeadingOrFirstClause_Replace()

setReplace

void setReplace(DataRefOrLiteral value)
Sets the value of the 'Replace' containment reference.

Parameters:
value - the new value of the 'Replace' containment reference.
See Also:
getReplace()

getReplaceBy

DataRefOrLiteral getReplaceBy()
Returns the value of the 'Replace By' containment reference.

The value is the data item or literal specified after the BY keyword.

Returns:
the value of the 'Replace By' containment reference.
See Also:
setReplaceBy(DataRefOrLiteral), COBOLPackage.getInspectReplacingAllOrLeadingOrFirstClause_ReplaceBy()

setReplaceBy

void setReplaceBy(DataRefOrLiteral value)
Sets the value of the 'Replace By' containment reference.

Parameters:
value - the new value of the 'Replace By' containment reference.
See Also:
getReplaceBy()

getBeforeOrAfterClauses

java.util.List getBeforeOrAfterClauses()
Returns the value of the 'Before Or After Clauses' containment reference list. The list contents are of type InspectBeforeOrAfterClause.

The list contains the BEFORE or AFTER clauses following the replace by data item or literal.

Returns:
the value of the 'Before Or After Clauses' containment reference list.
See Also:
COBOLPackage.getInspectReplacingAllOrLeadingOrFirstClause_BeforeOrAfterClauses()