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

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

public interface LiteralValueRange
extends ASTNode, LiteralValueListOrRange, LiteralOrLiteralValueRange

A representation of a range of literal values specified in a THROUGH clause. This is also used to represent a single value; in that case, the lower limit is null and the upper limit is the value.

The following features are supported:

See Also:
COBOLPackage.getLiteralValueRange()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 LiteralTypedValue getLowerLimit()
          Returns the value of the 'Lower Limit' containment reference.
 LiteralTypedValue getUpperLimit()
          Returns the value of the 'Upper Limit' containment reference.
 void setLowerLimit(LiteralTypedValue value)
          Sets the value of the 'Lower Limit' containment reference.
 void setUpperLimit(LiteralTypedValue value)
          Sets the value of the 'Upper Limit' 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

getLowerLimit

LiteralTypedValue getLowerLimit()
Returns the value of the 'Lower Limit' containment reference.

The first literal in the THROUGH phrase.

Returns:
the value of the 'Lower Limit' containment reference.
See Also:
setLowerLimit(LiteralTypedValue), COBOLPackage.getLiteralValueRange_LowerLimit()

setLowerLimit

void setLowerLimit(LiteralTypedValue value)
Sets the value of the 'Lower Limit' containment reference.

Parameters:
value - the new value of the 'Lower Limit' containment reference.
See Also:
getLowerLimit()

getUpperLimit

LiteralTypedValue getUpperLimit()
Returns the value of the 'Upper Limit' containment reference.

The second literal in the THROUGH phrase.

Returns:
the value of the 'Upper Limit' containment reference.
See Also:
setUpperLimit(LiteralTypedValue), COBOLPackage.getLiteralValueRange_UpperLimit()

setUpperLimit

void setUpperLimit(LiteralTypedValue value)
Sets the value of the 'Upper Limit' containment reference.

Parameters:
value - the new value of the 'Upper Limit' containment reference.
See Also:
getUpperLimit()