org.eclipse.emf.test.models.ppo.impl
Class ItemImpl

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 org.eclipse.emf.test.models.ppo.impl.ItemImpl
All Implemented Interfaces:
Notifier, EObject, InternalEObject, Item

public class ItemImpl
extends EObjectImpl
implements Item

An implementation of the model object 'Item'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
protected  java.lang.String comment
          The cached value of the 'Comment' attribute
protected static java.lang.String COMMENT_EDEFAULT
          The default value of the 'Comment' attribute
protected static java.lang.String PART_NUM_EDEFAULT
          The default value of the 'Part Num' attribute
protected  java.lang.String partNum
          The cached value of the 'Part Num' attribute
protected static java.lang.String PRODUCT_NAME_EDEFAULT
          The default value of the 'Product Name' attribute
protected  java.lang.String productName
          The cached value of the 'Product Name' attribute
protected  int quantity
          The cached value of the 'Quantity' attribute
protected static int QUANTITY_EDEFAULT
          The default value of the 'Quantity' attribute
protected static java.util.Date SHIP_DATE_EDEFAULT
          The default value of the 'Ship Date' attribute
protected  java.util.Date shipDate
          The cached value of the 'Ship Date' attribute
protected static int US_PRICE_EDEFAULT
          The default value of the 'US Price' attribute
protected  int usPrice
          The cached value of the 'US Price' attribute
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected ItemImpl()
           
 
Method Summary
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 java.lang.String getComment()
           
 java.lang.String getPartNum()
           
 java.lang.String getProductName()
           
 int getQuantity()
           
 java.util.Date getShipDate()
           
 int getUSPrice()
           
 void setComment(java.lang.String newComment)
           
 void setPartNum(java.lang.String newPartNum)
           
 void setProductName(java.lang.String newProductName)
           
 void setQuantity(int newQuantity)
           
 void setShipDate(java.util.Date newShipDate)
           
 void setUSPrice(int newUSPrice)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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

PRODUCT_NAME_EDEFAULT

protected static final java.lang.String PRODUCT_NAME_EDEFAULT
The default value of the 'Product Name' attribute.

See Also:
getProductName()

productName

protected java.lang.String productName
The cached value of the 'Product Name' attribute.

See Also:
getProductName()

QUANTITY_EDEFAULT

protected static final int QUANTITY_EDEFAULT
The default value of the 'Quantity' attribute.

See Also:
getQuantity(), Constant Field Values

quantity

protected int quantity
The cached value of the 'Quantity' attribute.

See Also:
getQuantity()

US_PRICE_EDEFAULT

protected static final int US_PRICE_EDEFAULT
The default value of the 'US Price' attribute.

See Also:
getUSPrice(), Constant Field Values

usPrice

protected int usPrice
The cached value of the 'US Price' attribute.

See Also:
getUSPrice()

COMMENT_EDEFAULT

protected static final java.lang.String COMMENT_EDEFAULT
The default value of the 'Comment' attribute.

See Also:
getComment()

comment

protected java.lang.String comment
The cached value of the 'Comment' attribute.

See Also:
getComment()

SHIP_DATE_EDEFAULT

protected static final java.util.Date SHIP_DATE_EDEFAULT
The default value of the 'Ship Date' attribute.

See Also:
getShipDate()

shipDate

protected java.util.Date shipDate
The cached value of the 'Ship Date' attribute.

See Also:
getShipDate()

PART_NUM_EDEFAULT

protected static final java.lang.String PART_NUM_EDEFAULT
The default value of the 'Part Num' attribute.

See Also:
getPartNum()

partNum

protected java.lang.String partNum
The cached value of the 'Part Num' attribute.

See Also:
getPartNum()
Constructor Detail

ItemImpl

protected ItemImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class EObjectImpl

getProductName

public java.lang.String getProductName()

Specified by:
getProductName in interface Item
Returns:
the value of the 'Product Name' attribute.
See Also:
Item.setProductName(String), PPOPackage.getItem_ProductName()

setProductName

public void setProductName(java.lang.String newProductName)

Specified by:
setProductName in interface Item
Parameters:
newProductName - the new value of the 'Product Name' attribute.
See Also:
Item.getProductName()

getQuantity

public int getQuantity()

Specified by:
getQuantity in interface Item
Returns:
the value of the 'Quantity' attribute.
See Also:
Item.setQuantity(int), PPOPackage.getItem_Quantity()

setQuantity

public void setQuantity(int newQuantity)

Specified by:
setQuantity in interface Item
Parameters:
newQuantity - the new value of the 'Quantity' attribute.
See Also:
Item.getQuantity()

getUSPrice

public int getUSPrice()

Specified by:
getUSPrice in interface Item
Returns:
the value of the 'US Price' attribute.
See Also:
Item.setUSPrice(int), PPOPackage.getItem_USPrice()

setUSPrice

public void setUSPrice(int newUSPrice)

Specified by:
setUSPrice in interface Item
Parameters:
newUSPrice - the new value of the 'US Price' attribute.
See Also:
Item.getUSPrice()

getComment

public java.lang.String getComment()

Specified by:
getComment in interface Item
Returns:
the value of the 'Comment' attribute.
See Also:
Item.setComment(String), PPOPackage.getItem_Comment()

setComment

public void setComment(java.lang.String newComment)

Specified by:
setComment in interface Item
Parameters:
newComment - the new value of the 'Comment' attribute.
See Also:
Item.getComment()

getShipDate

public java.util.Date getShipDate()

Specified by:
getShipDate in interface Item
Returns:
the value of the 'Ship Date' attribute.
See Also:
Item.setShipDate(Date), PPOPackage.getItem_ShipDate()

setShipDate

public void setShipDate(java.util.Date newShipDate)

Specified by:
setShipDate in interface Item
Parameters:
newShipDate - the new value of the 'Ship Date' attribute.
See Also:
Item.getShipDate()

getPartNum

public java.lang.String getPartNum()

Specified by:
getPartNum in interface Item
Returns:
the value of the 'Part Num' attribute.
See Also:
Item.setPartNum(String), PPOPackage.getItem_PartNum()

setPartNum

public void setPartNum(java.lang.String newPartNum)

Specified by:
setPartNum in interface Item
Parameters:
newPartNum - the new value of the 'Part Num' attribute.
See Also:
Item.getPartNum()

eGet

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

Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class BasicEObjectImpl
See Also:
InternalEObject.eGet(EStructuralFeature, boolean, boolean)

eSet

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

Specified by:
eSet in interface InternalEObject
Overrides:
eSet in class BasicEObjectImpl
See Also:
EObject.eSet(EStructuralFeature, Object)

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface InternalEObject
Overrides:
eUnset in class BasicEObjectImpl
See Also:
EObject.eUnset(EStructuralFeature)

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface InternalEObject
Overrides:
eIsSet in class BasicEObjectImpl
See Also:
EObject.eIsSet(EStructuralFeature)

toString

public java.lang.String toString()

Overrides:
toString in class BasicEObjectImpl

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.