|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.common.notify.impl.BasicNotifierImpl org.eclipse.emf.ecore.impl.BasicEObjectImpl org.eclipse.emf.ecore.impl.EObjectImpl org.eclipse.emf.test.models.ppo.impl.ItemImpl
public class ItemImpl
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.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 |
---|
protected static final java.lang.String PRODUCT_NAME_EDEFAULT
Product Name
' attribute.
getProductName()
protected java.lang.String productName
Product Name
' attribute.
getProductName()
protected static final int QUANTITY_EDEFAULT
Quantity
' attribute.
getQuantity()
,
Constant Field Valuesprotected int quantity
Quantity
' attribute.
getQuantity()
protected static final int US_PRICE_EDEFAULT
US Price
' attribute.
getUSPrice()
,
Constant Field Valuesprotected int usPrice
US Price
' attribute.
getUSPrice()
protected static final java.lang.String COMMENT_EDEFAULT
Comment
' attribute.
getComment()
protected java.lang.String comment
Comment
' attribute.
getComment()
protected static final java.util.Date SHIP_DATE_EDEFAULT
Ship Date
' attribute.
getShipDate()
protected java.util.Date shipDate
Ship Date
' attribute.
getShipDate()
protected static final java.lang.String PART_NUM_EDEFAULT
Part Num
' attribute.
getPartNum()
protected java.lang.String partNum
Part Num
' attribute.
getPartNum()
Constructor Detail |
---|
protected ItemImpl()
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class EObjectImpl
public java.lang.String getProductName()
getProductName
in interface Item
Item.setProductName(String)
,
PPOPackage.getItem_ProductName()
public void setProductName(java.lang.String newProductName)
setProductName
in interface Item
newProductName
- the new value of the 'Product Name' attribute.Item.getProductName()
public int getQuantity()
getQuantity
in interface Item
Item.setQuantity(int)
,
PPOPackage.getItem_Quantity()
public void setQuantity(int newQuantity)
setQuantity
in interface Item
newQuantity
- the new value of the 'Quantity' attribute.Item.getQuantity()
public int getUSPrice()
getUSPrice
in interface Item
Item.setUSPrice(int)
,
PPOPackage.getItem_USPrice()
public void setUSPrice(int newUSPrice)
setUSPrice
in interface Item
newUSPrice
- the new value of the 'US Price' attribute.Item.getUSPrice()
public java.lang.String getComment()
getComment
in interface Item
Item.setComment(String)
,
PPOPackage.getItem_Comment()
public void setComment(java.lang.String newComment)
setComment
in interface Item
newComment
- the new value of the 'Comment' attribute.Item.getComment()
public java.util.Date getShipDate()
getShipDate
in interface Item
Item.setShipDate(Date)
,
PPOPackage.getItem_ShipDate()
public void setShipDate(java.util.Date newShipDate)
setShipDate
in interface Item
newShipDate
- the new value of the 'Ship Date' attribute.Item.getShipDate()
public java.lang.String getPartNum()
getPartNum
in interface Item
Item.setPartNum(String)
,
PPOPackage.getItem_PartNum()
public void setPartNum(java.lang.String newPartNum)
setPartNum
in interface Item
newPartNum
- the new value of the 'Part Num' attribute.Item.getPartNum()
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class BasicEObjectImpl
InternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class BasicEObjectImpl
EObject.eSet(EStructuralFeature, Object)
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class BasicEObjectImpl
EObject.eUnset(EStructuralFeature)
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class BasicEObjectImpl
EObject.eIsSet(EStructuralFeature)
public java.lang.String toString()
toString
in class BasicEObjectImpl
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |