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

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

public interface KeyCondition
extends ASTNode

A representation of the KEY phrase in a START statement.

The following features are supported:

See Also:
COBOLPackage.getKeyCondition()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 DataRef getDataRef()
          Returns the value of the 'Data Ref' containment reference.
 KeyConditionType getType()
          Returns the value of the 'Type' attribute.
 void setDataRef(DataRef value)
          Sets the value of the 'Data Ref' containment reference.
 void setType(KeyConditionType value)
          Sets the value of the 'Type' 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

getType

KeyConditionType getType()
Returns the value of the 'Type' attribute. The literals are from the enumeration KeyConditionType.

Returns:
the value of the 'Type' attribute.
See Also:
KeyConditionType, setType(KeyConditionType), COBOLPackage.getKeyCondition_Type()

setType

void setType(KeyConditionType value)
Sets the value of the 'Type' attribute.

Parameters:
value - the new value of the 'Type' attribute.
See Also:
KeyConditionType, getType()

getDataRef

DataRef getDataRef()
Returns the value of the 'Data Ref' containment reference.

The value is the data item in the KEY phrase.

Returns:
the value of the 'Data Ref' containment reference.
See Also:
setDataRef(DataRef), COBOLPackage.getKeyCondition_DataRef()

setDataRef

void setDataRef(DataRef value)
Sets the value of the 'Data Ref' containment reference.

Parameters:
value - the new value of the 'Data Ref' containment reference.
See Also:
getDataRef()