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

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

public interface OnKeyClause
extends ASTNode

A representation of an ON KEY clause in a MERGE or SORT statement.

The following features are supported:

See Also:
COBOLPackage.getOnKeyClause()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 java.util.List getKey()
          Returns the value of the 'Key' reference list.
 boolean isAscending()
          Returns the value of the 'Ascending' attribute.
 void setAscending(boolean value)
          Sets the value of the 'Ascending' 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

isAscending

boolean isAscending()
Returns the value of the 'Ascending' attribute.

The value is true if ASCENDING is present; false if DESCENDING is present.

Returns:
the value of the 'Ascending' attribute.
See Also:
setAscending(boolean), COBOLPackage.getOnKeyClause_Ascending()

setAscending

void setAscending(boolean value)
Sets the value of the 'Ascending' attribute.

Parameters:
value - the new value of the 'Ascending' attribute.
See Also:
isAscending()

getKey

java.util.List getKey()
Returns the value of the 'Key' reference list. The list contents are of type AbstractDataItem.

The list contains the data items specified in the ON KEY clause.

Returns:
the value of the 'Key' reference list.
See Also:
COBOLPackage.getOnKeyClause_Key()