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

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.LiteNodeImpl
                  extended by com.ibm.etools.cobol.application.model.cobol.impl.DataItemLiteImpl
All Implemented Interfaces:
DataItemLite, LiteNode, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class DataItemLiteImpl
extends LiteNodeImpl
implements DataItemLite

An implementation of the model object 'Data Item Lite'.

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
 AbstractDataItem basicGetDataItem()
           
 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.lang.String getCopyBookName()
           
 AbstractDataItem getDataItem()
           
 int getImpactSize()
           
 java.lang.String getName()
           
 java.lang.String getPgmName()
           
 java.lang.String getPic()
           
 java.util.List getRelevantCode()
           
 int getSize()
           
 boolean isPacked()
           
 void setCopyBookName(java.lang.String newCopyBookName)
           
 void setDataItem(AbstractDataItem newDataItem)
           
 void setImpactSize(int newImpactSize)
           
 void setName(java.lang.String newName)
           
 void setPacked(boolean newPacked)
           
 void setPgmName(java.lang.String newPgmName)
           
 void setPic(java.lang.String newPic)
           
 void setSize(int newSize)
           
 java.lang.String toString()
           
 
Methods inherited from class com.ibm.etools.cobol.application.model.cobol.impl.LiteNodeImpl
getSourceLoc, setSourceLoc
 
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.LiteNode
getSourceLoc, setSourceLoc
 
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

getName

public java.lang.String getName()

Specified by:
getName in interface DataItemLite
Returns:
the value of the 'Name' attribute.
See Also:
DataItemLite.setName(String), COBOLPackage.getDataItemLite_Name()

setName

public void setName(java.lang.String newName)

Specified by:
setName in interface DataItemLite
Parameters:
newName - the new value of the 'Name' attribute.
See Also:
DataItemLite.getName()

getPgmName

public java.lang.String getPgmName()

Specified by:
getPgmName in interface DataItemLite
Returns:
the value of the 'Pgm Name' attribute.
See Also:
DataItemLite.setPgmName(String), COBOLPackage.getDataItemLite_PgmName()

setPgmName

public void setPgmName(java.lang.String newPgmName)

Specified by:
setPgmName in interface DataItemLite
Parameters:
newPgmName - the new value of the 'Pgm Name' attribute.
See Also:
DataItemLite.getPgmName()

getCopyBookName

public java.lang.String getCopyBookName()

Specified by:
getCopyBookName in interface DataItemLite
Returns:
the value of the 'Copy Book Name' attribute.
See Also:
DataItemLite.setCopyBookName(String), COBOLPackage.getDataItemLite_CopyBookName()

setCopyBookName

public void setCopyBookName(java.lang.String newCopyBookName)

Specified by:
setCopyBookName in interface DataItemLite
Parameters:
newCopyBookName - the new value of the 'Copy Book Name' attribute.
See Also:
DataItemLite.getCopyBookName()

getSize

public int getSize()

Specified by:
getSize in interface DataItemLite
Returns:
the value of the 'Size' attribute.
See Also:
DataItemLite.setSize(int), COBOLPackage.getDataItemLite_Size()

setSize

public void setSize(int newSize)

Specified by:
setSize in interface DataItemLite
Parameters:
newSize - the new value of the 'Size' attribute.
See Also:
DataItemLite.getSize()

getPic

public java.lang.String getPic()

Specified by:
getPic in interface DataItemLite
Returns:
the value of the 'Pic' attribute.
See Also:
DataItemLite.setPic(String), COBOLPackage.getDataItemLite_Pic()

setPic

public void setPic(java.lang.String newPic)

Specified by:
setPic in interface DataItemLite
Parameters:
newPic - the new value of the 'Pic' attribute.
See Also:
DataItemLite.getPic()

isPacked

public boolean isPacked()

Specified by:
isPacked in interface DataItemLite
Returns:
the value of the 'Packed' attribute.
See Also:
DataItemLite.setPacked(boolean), COBOLPackage.getDataItemLite_Packed()

setPacked

public void setPacked(boolean newPacked)

Specified by:
setPacked in interface DataItemLite
Parameters:
newPacked - the new value of the 'Packed' attribute.
See Also:
DataItemLite.isPacked()

getDataItem

public AbstractDataItem getDataItem()

Specified by:
getDataItem in interface DataItemLite
Returns:
the value of the 'Data Item' reference.
See Also:
DataItemLite.setDataItem(AbstractDataItem), COBOLPackage.getDataItemLite_DataItem()

basicGetDataItem

public AbstractDataItem basicGetDataItem()


setDataItem

public void setDataItem(AbstractDataItem newDataItem)

Specified by:
setDataItem in interface DataItemLite
Parameters:
newDataItem - the new value of the 'Data Item' reference.
See Also:
DataItemLite.getDataItem()

getRelevantCode

public java.util.List getRelevantCode()

Specified by:
getRelevantCode in interface DataItemLite
Returns:
the value of the 'Relevant Code' containment reference list.
See Also:
COBOLPackage.getDataItemLite_RelevantCode()

getImpactSize

public int getImpactSize()

Specified by:
getImpactSize in interface DataItemLite
Returns:
the value of the 'Impact Size' attribute.
See Also:
DataItemLite.setImpactSize(int), COBOLPackage.getDataItemLite_ImpactSize()

setImpactSize

public void setImpactSize(int newImpactSize)

Specified by:
setImpactSize in interface DataItemLite
Parameters:
newImpactSize - the new value of the 'Impact Size' attribute.
See Also:
DataItemLite.getImpactSize()

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 LiteNodeImpl

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public java.lang.String toString()

Overrides:
toString in class LiteNodeImpl