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

All Superinterfaces:
ASTNode, org.eclipse.emf.ecore.EObject, Expr, ExprConditional, ExprSimpleCond, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
ExprIsNotSignCond, ExprIsSignCond

public interface ExprSignCond
extends ExprSimpleCond

A representation of a sign condition expression. Expressions that are not data references are not supported.

The following features are supported:

See Also:
COBOLPackage.getExprSignCond()

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

getDataRef

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

The value is the data item in the condition.

Returns:
the value of the 'Data Ref' containment reference.
See Also:
setDataRef(DataRef), COBOLPackage.getExprSignCond_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()

getSignType

SignType getSignType()
Returns the value of the 'Sign Type' attribute. The literals are from the enumeration SignType.

The value is either NEGATIVE, POSITIVE, or ZERO.

Returns:
the value of the 'Sign Type' attribute.
See Also:
SignType, setSignType(SignType), COBOLPackage.getExprSignCond_SignType()

setSignType

void setSignType(SignType value)
Sets the value of the 'Sign Type' attribute.

Parameters:
value - the new value of the 'Sign Type' attribute.
See Also:
SignType, getSignType()