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

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
All Implemented Interfaces:
AbstractDataItem, ASTNode, DataItem, NamedElement, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject
Direct Known Subclasses:
ElementaryDataItemImpl, GroupDataItemImpl, TableDataItemImpl

public abstract class DataItemImpl
extends AbstractDataItemImpl
implements DataItem

An implementation of the model object 'Data 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
 CopybookItem basicGetCopiedFrom()
           
 DataItem basicGetRedefines()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetInitialValue(LiteralTypedValue newInitialValue, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 java.util.List getConditions()
           
 CopybookItem getCopiedFrom()
           
 java.lang.String getCopiedFromUniqueID()
           
 LiteralTypedValue getInitialValue()
           
 int getLevel()
           
 int getMaxOffsetWithinParent()
           
 int getMaxSize()
           
 DataItem getRedefines()
           
 boolean isIsFiller()
           
 void setCopiedFrom(CopybookItem newCopiedFrom)
           
 void setCopiedFromUniqueID(java.lang.String newCopiedFromUniqueID)
           
 void setInitialValue(LiteralTypedValue newInitialValue)
           
 void setIsFiller(boolean newIsFiller)
           
 void setLevel(int newLevel)
           
 void setMaxOffsetWithinParent(int newMaxOffsetWithinParent)
           
 void setMaxSize(int newMaxSize)
           
 void setRedefines(DataItem newRedefines)
           
 java.lang.String toString()
           
 
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.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

getLevel

public int getLevel()

Specified by:
getLevel in interface DataItem
Returns:
the value of the 'Level' attribute.
See Also:
DataItem.setLevel(int), COBOLPackage.getDataItem_Level()

setLevel

public void setLevel(int newLevel)

Specified by:
setLevel in interface DataItem
Parameters:
newLevel - the new value of the 'Level' attribute.
See Also:
DataItem.getLevel()

isIsFiller

public boolean isIsFiller()

Specified by:
isIsFiller in interface DataItem
Returns:
the value of the 'Is Filler' attribute.
See Also:
DataItem.setIsFiller(boolean), COBOLPackage.getDataItem_IsFiller()

setIsFiller

public void setIsFiller(boolean newIsFiller)

Specified by:
setIsFiller in interface DataItem
Parameters:
newIsFiller - the new value of the 'Is Filler' attribute.
See Also:
DataItem.isIsFiller()

getRedefines

public DataItem getRedefines()

Specified by:
getRedefines in interface DataItem
Returns:
the value of the 'Redefines' reference.
See Also:
DataItem.setRedefines(DataItem), COBOLPackage.getDataItem_Redefines()

basicGetRedefines

public DataItem basicGetRedefines()


setRedefines

public void setRedefines(DataItem newRedefines)

Specified by:
setRedefines in interface DataItem
Parameters:
newRedefines - the new value of the 'Redefines' reference.
See Also:
DataItem.getRedefines()

getConditions

public java.util.List getConditions()

Specified by:
getConditions in interface DataItem
Returns:
the value of the 'Conditions' containment reference list.
See Also:
COBOLPackage.getDataItem_Conditions()

getInitialValue

public LiteralTypedValue getInitialValue()

Specified by:
getInitialValue in interface DataItem
Returns:
the value of the 'Initial Value' containment reference.
See Also:
DataItem.setInitialValue(LiteralTypedValue), COBOLPackage.getDataItem_InitialValue()

basicSetInitialValue

public org.eclipse.emf.common.notify.NotificationChain basicSetInitialValue(LiteralTypedValue newInitialValue,
                                                                            org.eclipse.emf.common.notify.NotificationChain msgs)


setInitialValue

public void setInitialValue(LiteralTypedValue newInitialValue)

Specified by:
setInitialValue in interface DataItem
Parameters:
newInitialValue - the new value of the 'Initial Value' containment reference.
See Also:
DataItem.getInitialValue()

getCopiedFrom

public CopybookItem getCopiedFrom()

Specified by:
getCopiedFrom in interface DataItem
Returns:
the value of the 'Copied From' reference.
See Also:
DataItem.setCopiedFrom(CopybookItem), COBOLPackage.getDataItem_CopiedFrom()

basicGetCopiedFrom

public CopybookItem basicGetCopiedFrom()


setCopiedFrom

public void setCopiedFrom(CopybookItem newCopiedFrom)

Specified by:
setCopiedFrom in interface DataItem
Parameters:
newCopiedFrom - the new value of the 'Copied From' reference.
See Also:
DataItem.getCopiedFrom()

getCopiedFromUniqueID

public java.lang.String getCopiedFromUniqueID()

Specified by:
getCopiedFromUniqueID in interface DataItem
Returns:
the value of the 'Copied From Unique ID' attribute.
See Also:
DataItem.setCopiedFromUniqueID(String), COBOLPackage.getDataItem_CopiedFromUniqueID()

setCopiedFromUniqueID

public void setCopiedFromUniqueID(java.lang.String newCopiedFromUniqueID)

Specified by:
setCopiedFromUniqueID in interface DataItem
Parameters:
newCopiedFromUniqueID - the new value of the 'Copied From Unique ID' attribute.
See Also:
DataItem.getCopiedFromUniqueID()

getMaxSize

public int getMaxSize()

Specified by:
getMaxSize in interface DataItem
Returns:
the value of the 'Max Size' attribute.
See Also:
DataItem.setMaxSize(int), COBOLPackage.getDataItem_MaxSize()

setMaxSize

public void setMaxSize(int newMaxSize)

Specified by:
setMaxSize in interface DataItem
Parameters:
newMaxSize - the new value of the 'Max Size' attribute.
See Also:
DataItem.getMaxSize()

getMaxOffsetWithinParent

public int getMaxOffsetWithinParent()

Specified by:
getMaxOffsetWithinParent in interface DataItem
Returns:
the value of the 'Max Offset Within Parent' attribute.
See Also:
DataItem.setMaxOffsetWithinParent(int), COBOLPackage.getDataItem_MaxOffsetWithinParent()

setMaxOffsetWithinParent

public void setMaxOffsetWithinParent(int newMaxOffsetWithinParent)

Specified by:
setMaxOffsetWithinParent in interface DataItem
Parameters:
newMaxOffsetWithinParent - the new value of the 'Max Offset Within Parent' attribute.
See Also:
DataItem.getMaxOffsetWithinParent()

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

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 NamedElementImpl

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public java.lang.String toString()

Overrides:
toString in class NamedElementImpl