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

All Superinterfaces:
ASTNode, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, Stmt
All Known Subinterfaces:
BinarySearchStmt, SerialSearchStmt

public interface SearchStmt
extends Stmt

A representation of a SEARCH statement in the PROCEDURE division.

The following features are supported:

See Also:
COBOLPackage.getSearchStmt()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 java.util.List getAtEnd()
          Returns the value of the 'At End' containment reference list.
 TableDataItem getTableItem()
          Returns the value of the 'Table Item' reference.
 boolean isEndSearchUsed()
          Returns the value of the 'End Search Used' attribute.
 void setEndSearchUsed(boolean value)
          Sets the value of the 'End Search Used' attribute.
 void setTableItem(TableDataItem value)
          Sets the value of the 'Table Item' 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

getTableItem

TableDataItem getTableItem()
Returns the value of the 'Table Item' reference.

The value is the table data item specified after the SEARCH keyword.

Returns:
the value of the 'Table Item' reference.
See Also:
setTableItem(TableDataItem), COBOLPackage.getSearchStmt_TableItem()

setTableItem

void setTableItem(TableDataItem value)
Sets the value of the 'Table Item' reference.

Parameters:
value - the new value of the 'Table Item' reference.
See Also:
getTableItem()

getAtEnd

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

The list contains the statements in the AT END clause.

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

isEndSearchUsed

boolean isEndSearchUsed()
Returns the value of the 'End Search Used' attribute.

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

Returns:
the value of the 'End Search Used' attribute.
See Also:
setEndSearchUsed(boolean), COBOLPackage.getSearchStmt_EndSearchUsed()

setEndSearchUsed

void setEndSearchUsed(boolean value)
Sets the value of the 'End Search Used' attribute.

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