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.

The following features are supported:

See Also:
COBOLPackage.getExprSignCond()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 DataRef getDataRef()
          Deprecated. Use getOperand().

 Expr getOperand()
          Returns the value of the 'Operand' containment reference.
 SignType getSignType()
          Returns the value of the 'Sign Type' attribute.
 void setDataRef(DataRef value)
          Deprecated. Use setOperand(Expr).
 void setOperand(Expr value)
          Sets the value of the 'Operand' 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()
Deprecated. Use getOperand().

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)
Deprecated. Use setOperand(Expr).

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()

getOperand

Expr getOperand()
Returns the value of the 'Operand' containment reference.

The value is the expression that is the operand of the sign condition.

Returns:
the value of the 'Operand' containment reference.
See Also:
setOperand(Expr), COBOLPackage.getExprSignCond_Operand()

setOperand

void setOperand(Expr value)
Sets the value of the 'Operand' containment reference.

Parameters:
value - the new value of the 'Operand' containment reference.
See Also:
getOperand()