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

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.PurchaseOrderImpl
All Implemented Interfaces:
Notifier, EObject, InternalEObject, PurchaseOrder

public class PurchaseOrderImpl
extends EObjectImpl
implements PurchaseOrder

An implementation of the model object 'Purchase Order'.

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  USAddress billTo
          The cached value of the 'Bill To' containment reference
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  EList<Item> items
          The cached value of the 'Items' containment reference list
protected static java.util.Date ORDER_DATE_EDEFAULT
          The default value of the 'Order Date' attribute
protected  java.util.Date orderDate
          The cached value of the 'Order Date' attribute
protected  USAddress shipTo
          The cached value of the 'Ship To' containment reference
 
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 PurchaseOrderImpl()
           
 
Method Summary
 NotificationChain basicSetBillTo(USAddress newBillTo, NotificationChain msgs)
           
 NotificationChain basicSetShipTo(USAddress newShipTo, NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 USAddress getBillTo()
           
 java.lang.String getComment()
           
 EList<Item> getItems()
           
 java.util.Date getOrderDate()
           
 USAddress getShipTo()
           
 void setBillTo(USAddress newBillTo)
           
 void setComment(java.lang.String newComment)
           
 void setOrderDate(java.util.Date newOrderDate)
           
 void setShipTo(USAddress newShipTo)
           
 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, 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

items

protected EList<Item> items
The cached value of the 'Items' containment reference list.

See Also:
getItems()

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()

ORDER_DATE_EDEFAULT

protected static final java.util.Date ORDER_DATE_EDEFAULT
The default value of the 'Order Date' attribute.

See Also:
getOrderDate()

orderDate

protected java.util.Date orderDate
The cached value of the 'Order Date' attribute.

See Also:
getOrderDate()

billTo

protected USAddress billTo
The cached value of the 'Bill To' containment reference.

See Also:
getBillTo()

shipTo

protected USAddress shipTo
The cached value of the 'Ship To' containment reference.

See Also:
getShipTo()
Constructor Detail

PurchaseOrderImpl

protected PurchaseOrderImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class EObjectImpl

getItems

public EList<Item> getItems()

Specified by:
getItems in interface PurchaseOrder
Returns:
the value of the 'Items' containment reference list.
See Also:
PPOPackage.getPurchaseOrder_Items()

getComment

public java.lang.String getComment()

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

setComment

public void setComment(java.lang.String newComment)

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

getOrderDate

public java.util.Date getOrderDate()

Specified by:
getOrderDate in interface PurchaseOrder
Returns:
the value of the 'Order Date' attribute.
See Also:
PurchaseOrder.setOrderDate(Date), PPOPackage.getPurchaseOrder_OrderDate()

setOrderDate

public void setOrderDate(java.util.Date newOrderDate)

Specified by:
setOrderDate in interface PurchaseOrder
Parameters:
newOrderDate - the new value of the 'Order Date' attribute.
See Also:
PurchaseOrder.getOrderDate()

getBillTo

public USAddress getBillTo()

Specified by:
getBillTo in interface PurchaseOrder
Returns:
the value of the 'Bill To' containment reference.
See Also:
PurchaseOrder.setBillTo(USAddress), PPOPackage.getPurchaseOrder_BillTo()

basicSetBillTo

public NotificationChain basicSetBillTo(USAddress newBillTo,
                                        NotificationChain msgs)


setBillTo

public void setBillTo(USAddress newBillTo)

Specified by:
setBillTo in interface PurchaseOrder
Parameters:
newBillTo - the new value of the 'Bill To' containment reference.
See Also:
PurchaseOrder.getBillTo()

getShipTo

public USAddress getShipTo()

Specified by:
getShipTo in interface PurchaseOrder
Returns:
the value of the 'Ship To' containment reference.
See Also:
PurchaseOrder.setShipTo(USAddress), PPOPackage.getPurchaseOrder_ShipTo()

basicSetShipTo

public NotificationChain basicSetShipTo(USAddress newShipTo,
                                        NotificationChain msgs)


setShipTo

public void setShipTo(USAddress newShipTo)

Specified by:
setShipTo in interface PurchaseOrder
Parameters:
newShipTo - the new value of the 'Ship To' containment reference.
See Also:
PurchaseOrder.getShipTo()

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)

Overrides:
eInverseRemove in class BasicEObjectImpl

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.