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

All Superinterfaces:
AbstractDataItem, ASTNode, DataItem, ElementaryDataItem, org.eclipse.emf.ecore.EObject, NamedElement, org.eclipse.emf.common.notify.Notifier

public interface NumericItem
extends ElementaryDataItem

A representation of a numeric data item.

The following features are supported:

See Also:
COBOLPackage.getNumericItem()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 java.lang.String getCurrencySymbol()
          Deprecated. Use SpecialNamesParagraph.getCurrencySignClauses().

 java.lang.String getNumproc()
          Deprecated. This method was superfluous.

 java.lang.String getTrunc()
          Deprecated. This method was superfluous.

 boolean isDecimal()
          Deprecated. This method was superfluous.

 boolean isSigned()
          Returns the value of the 'Signed' attribute.
 boolean isSignLeading()
          Returns the value of the 'Sign Leading' attribute.
 boolean isSignSeparate()
          Returns the value of the 'Sign Separate' attribute.
 void setCurrencySymbol(java.lang.String value)
          Deprecated. Use SpecialNamesParagraph.getCurrencySignClauses().
 void setDecimal(boolean value)
          Deprecated. This method was superfluous.
 void setNumproc(java.lang.String value)
          Deprecated. This method was superfluous.
 void setSigned(boolean value)
          Sets the value of the 'Signed' attribute.
 void setSignLeading(boolean value)
          Sets the value of the 'Sign Leading' attribute.
 void setSignSeparate(boolean value)
          Sets the value of the 'Sign Separate' attribute.
 void setTrunc(java.lang.String value)
          Deprecated. This method was superfluous.
 
Methods inherited from interface com.ibm.etools.cobol.application.model.cobol.ElementaryDataItem
getDateFormatClause, getPictureString, getUsage, getUsageClause, isSynchronized, setDateFormatClause, setPictureString, setSynchronized, setUsage, setUsageClause
 
Methods inherited from interface com.ibm.etools.cobol.application.model.cobol.DataItem
getConditions, getCopiedFrom, getCopiedFromUniqueID, getInitialValue, getLevel, getMaxOffsetWithinParent, getMaxSize, getRedefines, isIsFiller, setCopiedFrom, setCopiedFromUniqueID, setInitialValue, setIsFiller, setLevel, setMaxOffsetWithinParent, setMaxSize, setRedefines
 
Methods inherited from interface com.ibm.etools.cobol.application.model.cobol.NamedElement
getName, setName
 
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

isSigned

boolean isSigned()
Returns the value of the 'Signed' attribute.

The value is true if an S appears in the picture string; false otherwise.

Returns:
the value of the 'Signed' attribute.
See Also:
setSigned(boolean), COBOLPackage.getNumericItem_Signed()

setSigned

void setSigned(boolean value)
Sets the value of the 'Signed' attribute.

Parameters:
value - the new value of the 'Signed' attribute.
See Also:
isSigned()

isSignLeading

boolean isSignLeading()
Returns the value of the 'Sign Leading' attribute.

The value is true if the LEADING keyword is present in the sign clause; false if the TRAILING keyword is present.

Returns:
the value of the 'Sign Leading' attribute.
See Also:
setSignLeading(boolean), COBOLPackage.getNumericItem_SignLeading()

setSignLeading

void setSignLeading(boolean value)
Sets the value of the 'Sign Leading' attribute.

Parameters:
value - the new value of the 'Sign Leading' attribute.
See Also:
isSignLeading()

isSignSeparate

boolean isSignSeparate()
Returns the value of the 'Sign Separate' attribute.

The value is true if the SEPARATE or SEPARATE CHARACTER keywords are present in the sign clause; false otherwise.

Returns:
the value of the 'Sign Separate' attribute.
See Also:
setSignSeparate(boolean), COBOLPackage.getNumericItem_SignSeparate()

setSignSeparate

void setSignSeparate(boolean value)
Sets the value of the 'Sign Separate' attribute.

Parameters:
value - the new value of the 'Sign Separate' attribute.
See Also:
isSignSeparate()

getCurrencySymbol

java.lang.String getCurrencySymbol()
Deprecated. Use SpecialNamesParagraph.getCurrencySignClauses().

Returns the value of the 'Currency Symbol' attribute.

The value is the value specified in the CURRENCY SIGN clause of the special names paragraph in the environment division.

Returns:
the value of the 'Currency Symbol' attribute.
See Also:
setCurrencySymbol(String), COBOLPackage.getNumericItem_CurrencySymbol()

setCurrencySymbol

void setCurrencySymbol(java.lang.String value)
Deprecated. Use SpecialNamesParagraph.getCurrencySignClauses().

Sets the value of the 'Currency Symbol' attribute.

Parameters:
value - the new value of the 'Currency Symbol' attribute.
See Also:
getCurrencySymbol()

getTrunc

java.lang.String getTrunc()
Deprecated. This method was superfluous.

Returns the value of the 'Trunc' attribute.

Returns:
the value of the 'Trunc' attribute.
See Also:
setTrunc(String), COBOLPackage.getNumericItem_Trunc()

setTrunc

void setTrunc(java.lang.String value)
Deprecated. This method was superfluous.

Sets the value of the 'Trunc' attribute.

Parameters:
value - the new value of the 'Trunc' attribute.
See Also:
getTrunc()

getNumproc

java.lang.String getNumproc()
Deprecated. This method was superfluous.

Returns the value of the 'Numproc' attribute.

Returns:
the value of the 'Numproc' attribute.
See Also:
setNumproc(String), COBOLPackage.getNumericItem_Numproc()

setNumproc

void setNumproc(java.lang.String value)
Deprecated. This method was superfluous.

Sets the value of the 'Numproc' attribute.

Parameters:
value - the new value of the 'Numproc' attribute.
See Also:
getNumproc()

isDecimal

boolean isDecimal()
Deprecated. This method was superfluous.

Returns the value of the 'Decimal' attribute.

Returns:
the value of the 'Decimal' attribute.
See Also:
setDecimal(boolean), COBOLPackage.getNumericItem_Decimal()

setDecimal

void setDecimal(boolean value)
Deprecated. This method was superfluous.

Sets the value of the 'Decimal' attribute.

Parameters:
value - the new value of the 'Decimal' attribute.
See Also:
isDecimal()