com.ibm.etools.cobol.application.model.cobol.impl
Class NumericItemImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by com.ibm.etools.cobol.application.model.cobol.impl.ASTNodeImpl
                  extended by com.ibm.etools.cobol.application.model.cobol.impl.NamedElementImpl
                      extended by com.ibm.etools.cobol.application.model.cobol.impl.AbstractDataItemImpl
                          extended by com.ibm.etools.cobol.application.model.cobol.impl.DataItemImpl
                              extended by com.ibm.etools.cobol.application.model.cobol.impl.ElementaryDataItemImpl
                                  extended by com.ibm.etools.cobol.application.model.cobol.impl.NumericItemImpl
All Implemented Interfaces:
AbstractDataItem, ASTNode, DataItem, ElementaryDataItem, NamedElement, NumericItem, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class NumericItemImpl
extends ElementaryDataItemImpl
implements NumericItem

An implementation of the model object 'Numeric Item'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
static java.lang.String copyright
           
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 java.lang.String getCurrencySymbol()
           
 java.lang.String getNumproc()
           
 java.lang.String getTrunc()
           
 boolean isDecimal()
           
 boolean isSigned()
           
 boolean isSignLeading()
           
 boolean isSignSeparate()
           
 void setCurrencySymbol(java.lang.String newCurrencySymbol)
           
 void setDecimal(boolean newDecimal)
           
 void setNumproc(java.lang.String newNumproc)
           
 void setSigned(boolean newSigned)
           
 void setSignLeading(boolean newSignLeading)
           
 void setSignSeparate(boolean newSignSeparate)
           
 void setTrunc(java.lang.String newTrunc)
           
 java.lang.String toString()
           
 
Methods inherited from class com.ibm.etools.cobol.application.model.cobol.impl.ElementaryDataItemImpl
getPictureString, getUsage, isSynchronized, setPictureString, setSynchronized, setUsage
 
Methods inherited from class com.ibm.etools.cobol.application.model.cobol.impl.DataItemImpl
basicGetCopiedFrom, basicGetRedefines, basicSetInitialValue, eInverseRemove, getConditions, getCopiedFrom, getCopiedFromUniqueID, getInitialValue, getLevel, getMaxOffsetWithinParent, getMaxSize, getRedefines, isIsFiller, setCopiedFrom, setCopiedFromUniqueID, setInitialValue, setIsFiller, setLevel, setMaxOffsetWithinParent, setMaxSize, setRedefines
 
Methods inherited from class com.ibm.etools.cobol.application.model.cobol.impl.NamedElementImpl
getName, setName
 
Methods inherited from class com.ibm.etools.cobol.application.model.cobol.impl.ASTNodeImpl
basicGetParent, getBeginColumn, getBeginFile, getBeginLine, getEndColumn, getEndFile, getEndLine, getParent, getTag, setBeginColumn, setBeginFile, setBeginLine, setEndColumn, setEndFile, setEndLine, setParent, setTag
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.etools.cobol.application.model.cobol.ElementaryDataItem
getPictureString, getUsage, isSynchronized, setPictureString, setSynchronized, setUsage
 
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
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values
Method Detail

isSigned

public boolean isSigned()

Specified by:
isSigned in interface NumericItem
Returns:
the value of the 'Signed' attribute.
See Also:
NumericItem.setSigned(boolean), COBOLPackage.getNumericItem_Signed()

setSigned

public void setSigned(boolean newSigned)

Specified by:
setSigned in interface NumericItem
Parameters:
newSigned - the new value of the 'Signed' attribute.
See Also:
NumericItem.isSigned()

isSignLeading

public boolean isSignLeading()

Specified by:
isSignLeading in interface NumericItem
Returns:
the value of the 'Sign Leading' attribute.
See Also:
NumericItem.setSignLeading(boolean), COBOLPackage.getNumericItem_SignLeading()

setSignLeading

public void setSignLeading(boolean newSignLeading)

Specified by:
setSignLeading in interface NumericItem
Parameters:
newSignLeading - the new value of the 'Sign Leading' attribute.
See Also:
NumericItem.isSignLeading()

isSignSeparate

public boolean isSignSeparate()

Specified by:
isSignSeparate in interface NumericItem
Returns:
the value of the 'Sign Separate' attribute.
See Also:
NumericItem.setSignSeparate(boolean), COBOLPackage.getNumericItem_SignSeparate()

setSignSeparate

public void setSignSeparate(boolean newSignSeparate)

Specified by:
setSignSeparate in interface NumericItem
Parameters:
newSignSeparate - the new value of the 'Sign Separate' attribute.
See Also:
NumericItem.isSignSeparate()

getCurrencySymbol

public java.lang.String getCurrencySymbol()

Specified by:
getCurrencySymbol in interface NumericItem
Returns:
the value of the 'Currency Symbol' attribute.
See Also:
NumericItem.setCurrencySymbol(String), COBOLPackage.getNumericItem_CurrencySymbol()

setCurrencySymbol

public void setCurrencySymbol(java.lang.String newCurrencySymbol)

Specified by:
setCurrencySymbol in interface NumericItem
Parameters:
newCurrencySymbol - the new value of the 'Currency Symbol' attribute.
See Also:
NumericItem.getCurrencySymbol()

getTrunc

public java.lang.String getTrunc()

Specified by:
getTrunc in interface NumericItem
Returns:
the value of the 'Trunc' attribute.
See Also:
NumericItem.setTrunc(String), COBOLPackage.getNumericItem_Trunc()

setTrunc

public void setTrunc(java.lang.String newTrunc)

Specified by:
setTrunc in interface NumericItem
Parameters:
newTrunc - the new value of the 'Trunc' attribute.
See Also:
NumericItem.getTrunc()

getNumproc

public java.lang.String getNumproc()

Specified by:
getNumproc in interface NumericItem
Returns:
the value of the 'Numproc' attribute.
See Also:
NumericItem.setNumproc(String), COBOLPackage.getNumericItem_Numproc()

setNumproc

public void setNumproc(java.lang.String newNumproc)

Specified by:
setNumproc in interface NumericItem
Parameters:
newNumproc - the new value of the 'Numproc' attribute.
See Also:
NumericItem.getNumproc()

isDecimal

public boolean isDecimal()

Specified by:
isDecimal in interface NumericItem
Returns:
the value of the 'Decimal' attribute.
See Also:
NumericItem.setDecimal(boolean), COBOLPackage.getNumericItem_Decimal()

setDecimal

public void setDecimal(boolean newDecimal)

Specified by:
setDecimal in interface NumericItem
Parameters:
newDecimal - the new value of the 'Decimal' attribute.
See Also:
NumericItem.isDecimal()

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class ElementaryDataItemImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class ElementaryDataItemImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class ElementaryDataItemImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class ElementaryDataItemImpl

toString

public java.lang.String toString()

Overrides:
toString in class ElementaryDataItemImpl