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

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

public interface NumericEditedItem
extends ElementaryDataItem

A representation of a numeric edited data item.

The following features are supported:

See Also:
COBOLPackage.getNumericEditedItem()

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

 boolean isBlankWhenZero()
          Returns the value of the 'Blank When Zero' attribute.
 boolean isDecimal()
          Deprecated. This method was superfluous.

 void setBlankWhenZero(boolean value)
          Sets the value of the 'Blank When Zero' attribute.
 void setCurrencySign(java.lang.String value)
          Deprecated. Use SpecialNamesParagraph.getCurrencySignClauses().
 void setDecimal(boolean 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

isBlankWhenZero

boolean isBlankWhenZero()
Returns the value of the 'Blank When Zero' attribute.

The value is true if the BLANK WHEN ZERO clause is present; false otherwise.

Returns:
the value of the 'Blank When Zero' attribute.
See Also:
setBlankWhenZero(boolean), COBOLPackage.getNumericEditedItem_BlankWhenZero()

setBlankWhenZero

void setBlankWhenZero(boolean value)
Sets the value of the 'Blank When Zero' attribute.

Parameters:
value - the new value of the 'Blank When Zero' attribute.
See Also:
isBlankWhenZero()

getCurrencySign

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

Returns the value of the 'Currency Sign' attribute.

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

Returns:
the value of the 'Currency Sign' attribute.
See Also:
setCurrencySign(String), COBOLPackage.getNumericEditedItem_CurrencySign()

setCurrencySign

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

Sets the value of the 'Currency Sign' attribute.

Parameters:
value - the new value of the 'Currency Sign' attribute.
See Also:
getCurrencySign()

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