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

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.MinimalEObjectImpl
              extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
                  extended by org.eclipse.emf.ecore.impl.EModelElementImpl
                      extended by org.eclipse.emf.ecore.impl.ENamedElementImpl
                          extended by org.eclipse.emf.ecore.impl.EPackageImpl
                              extended by org.eclipse.emf.test.models.ppo.impl.PPOPackageImpl
All Implemented Interfaces:
Notifier, EModelElement, ENamedElement, EObject, EPackage, EStructuralFeature.Internal.DynamicValueHolder, InternalEObject, BasicExtendedMetaData.EPackageExtendedMetaData.Holder, PPOPackage

public class PPOPackageImpl
extends EPackageImpl
implements PPOPackage

An implementation of the model Package.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
MinimalEObjectImpl.Container.Dynamic
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
MinimalEObjectImpl.Container
 
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.test.models.ppo.PPOPackage
PPOPackage.Literals
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EPackage
EPackage.Descriptor, EPackage.Registry
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EPackageImpl
eClassifiers, ecoreFactory, ecorePackage, eFactoryInstance, eNameToEClassifierMap, ePackageExtendedMetaData, eSubpackages, IS_ABSTRACT, IS_CHANGEABLE, IS_COMPOSITE, IS_DERIVED, IS_GENERATED_INSTANCE_CLASS, IS_ID, IS_INTERFACE, IS_ORDERED, IS_RESOLVABLE, IS_RESOLVE_PROXIES, IS_SERIALIZABLE, IS_TRANSIENT, IS_UNIQUE, IS_UNSETTABLE, IS_VOLATILE, NS_PREFIX_EDEFAULT, NS_URI_EDEFAULT, nsPrefix, nsURI
 
Fields inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
name, NAME_EDEFAULT
 
Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG
 
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
 
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.test.models.ppo.PPOPackage
DATE, eINSTANCE, eNAME, eNS_PREFIX, eNS_URI, ITEM, ITEM__COMMENT, ITEM__PART_NUM, ITEM__PRODUCT_NAME, ITEM__QUANTITY, ITEM__SHIP_DATE, ITEM__US_PRICE, ITEM_FEATURE_COUNT, PURCHASE_ORDER, PURCHASE_ORDER__BILL_TO, PURCHASE_ORDER__COMMENT, PURCHASE_ORDER__ITEMS, PURCHASE_ORDER__ORDER_DATE, PURCHASE_ORDER__SHIP_TO, PURCHASE_ORDER_FEATURE_COUNT, SKU, US_ADDRESS, US_ADDRESS__CITY, US_ADDRESS__COUNTRY, US_ADDRESS__NAME, US_ADDRESS__STATE, US_ADDRESS__STREET, US_ADDRESS__ZIP, US_ADDRESS_FEATURE_COUNT
 
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
protected  void createEcoreAnnotations()
          Initializes the annotations for http://www.eclipse.org/emf/2002/Ecore
 void createPackageContents()
          Creates the meta-model objects for the package.
 EDataType getDate()
           
 EAttribute getItem_Comment()
           
 EAttribute getItem_PartNum()
           
 EAttribute getItem_ProductName()
           
 EAttribute getItem_Quantity()
           
 EAttribute getItem_ShipDate()
           
 EAttribute getItem_USPrice()
           
 EClass getItem()
           
 PPOFactory getPPOFactory()
           
 EReference getPurchaseOrder_BillTo()
           
 EAttribute getPurchaseOrder_Comment()
           
 EReference getPurchaseOrder_Items()
           
 EAttribute getPurchaseOrder_OrderDate()
           
 EReference getPurchaseOrder_ShipTo()
           
 EClass getPurchaseOrder()
           
 EDataType getSKU()
           
 EAttribute getUSAddress_City()
           
 EAttribute getUSAddress_Country()
           
 EAttribute getUSAddress_Name()
           
 EAttribute getUSAddress_State()
           
 EAttribute getUSAddress_Street()
           
 EAttribute getUSAddress_Zip()
           
 EClass getUSAddress()
           
static PPOPackage init()
          Creates, registers, and initializes the Package for this model, and for any others upon which it depends.
 void initializePackageContents()
          Complete the initialization of the package and its meta-model.
 
Methods inherited from class org.eclipse.emf.ecore.impl.EPackageImpl
addAnnotation, addAnnotation, addAnnotation, addAnnotation, addEEnumLiteral, addEException, addEException, addEOperation, addEOperation, addEOperation, addEParameter, addEParameter, addEParameter, addEParameter, addEParameter, addETypeParameter, addETypeParameter, basicGetESuperPackage, basicSetEFactoryInstance, createEAttribute, createEClass, createEDataType, createEEnum, createEGenericType, createEGenericType, createEGenericType, createEOperation, createEReference, createResource, eBasicRemoveFromContainerFeature, eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eSet, eSetProxyURI, eStaticClass, eUnset, fixEClassifiers, fixEEnumLiterals, fixEOperations, fixEStructuralFeatures, fixInstanceClass, freeze, getEClassifier, getEClassifierGen, getEClassifiers, getEFactoryInstance, getESubpackages, getESuperPackage, getExtendedMetaData, getNsPrefix, getNsURI, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEClass, initEClass, initEClass, initEDataType, initEDataType, initEDataType, initEEnum, initEOperation, initEOperation, initEOperation, initEOperation, initEReference, initEReference, initEReference, initEReference, initEReference, initEReference, initEReference, initializeFromLoadedEPackage, setEFactoryInstance, setExtendedMetaData, setGeneratedClassName, setInstanceTypeName, setNamespaceURI, setNsPrefix, setNsURI, toString
 
Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
eContents, eCrossReferences, getName, getNameGen, setName
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eSetDirectResource, eURIFragmentSegment, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSettings
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
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.EPackage
getEClassifier, getEClassifiers, getEFactoryInstance, getESubpackages, getESuperPackage, getNsPrefix, getNsURI, setEFactoryInstance, setNsPrefix, setNsURI
 
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
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
 

Method Detail

init

public static PPOPackage init()
Creates, registers, and initializes the Package for this model, and for any others upon which it depends.

This method is used to initialize PPOPackage.eINSTANCE when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.

See Also:
PPOPackage.eNS_URI, createPackageContents(), initializePackageContents()

getItem

public EClass getItem()

Specified by:
getItem in interface PPOPackage
Returns:
the meta object for class 'Item'.
See Also:
Item

getItem_ProductName

public EAttribute getItem_ProductName()

Specified by:
getItem_ProductName in interface PPOPackage
Returns:
the meta object for the attribute 'Product Name'.
See Also:
Item.getProductName(), PPOPackage.getItem()

getItem_Quantity

public EAttribute getItem_Quantity()

Specified by:
getItem_Quantity in interface PPOPackage
Returns:
the meta object for the attribute 'Quantity'.
See Also:
Item.getQuantity(), PPOPackage.getItem()

getItem_USPrice

public EAttribute getItem_USPrice()

Specified by:
getItem_USPrice in interface PPOPackage
Returns:
the meta object for the attribute 'US Price'.
See Also:
Item.getUSPrice(), PPOPackage.getItem()

getItem_Comment

public EAttribute getItem_Comment()

Specified by:
getItem_Comment in interface PPOPackage
Returns:
the meta object for the attribute 'Comment'.
See Also:
Item.getComment(), PPOPackage.getItem()

getItem_ShipDate

public EAttribute getItem_ShipDate()

Specified by:
getItem_ShipDate in interface PPOPackage
Returns:
the meta object for the attribute 'Ship Date'.
See Also:
Item.getShipDate(), PPOPackage.getItem()

getItem_PartNum

public EAttribute getItem_PartNum()

Specified by:
getItem_PartNum in interface PPOPackage
Returns:
the meta object for the attribute 'Part Num'.
See Also:
Item.getPartNum(), PPOPackage.getItem()

getUSAddress

public EClass getUSAddress()

Specified by:
getUSAddress in interface PPOPackage
Returns:
the meta object for class 'US Address'.
See Also:
USAddress

getUSAddress_Name

public EAttribute getUSAddress_Name()

Specified by:
getUSAddress_Name in interface PPOPackage
Returns:
the meta object for the attribute 'Name'.
See Also:
USAddress.getName(), PPOPackage.getUSAddress()

getUSAddress_Street

public EAttribute getUSAddress_Street()

Specified by:
getUSAddress_Street in interface PPOPackage
Returns:
the meta object for the attribute 'Street'.
See Also:
USAddress.getStreet(), PPOPackage.getUSAddress()

getUSAddress_City

public EAttribute getUSAddress_City()

Specified by:
getUSAddress_City in interface PPOPackage
Returns:
the meta object for the attribute 'City'.
See Also:
USAddress.getCity(), PPOPackage.getUSAddress()

getUSAddress_State

public EAttribute getUSAddress_State()

Specified by:
getUSAddress_State in interface PPOPackage
Returns:
the meta object for the attribute 'State'.
See Also:
USAddress.getState(), PPOPackage.getUSAddress()

getUSAddress_Zip

public EAttribute getUSAddress_Zip()

Specified by:
getUSAddress_Zip in interface PPOPackage
Returns:
the meta object for the attribute 'Zip'.
See Also:
USAddress.getZip(), PPOPackage.getUSAddress()

getUSAddress_Country

public EAttribute getUSAddress_Country()

Specified by:
getUSAddress_Country in interface PPOPackage
Returns:
the meta object for the attribute 'Country'.
See Also:
USAddress.getCountry(), PPOPackage.getUSAddress()

getPurchaseOrder

public EClass getPurchaseOrder()

Specified by:
getPurchaseOrder in interface PPOPackage
Returns:
the meta object for class 'Purchase Order'.
See Also:
PurchaseOrder

getPurchaseOrder_Items

public EReference getPurchaseOrder_Items()

Specified by:
getPurchaseOrder_Items in interface PPOPackage
Returns:
the meta object for the containment reference list 'Items'.
See Also:
PurchaseOrder.getItems(), PPOPackage.getPurchaseOrder()

getPurchaseOrder_Comment

public EAttribute getPurchaseOrder_Comment()

Specified by:
getPurchaseOrder_Comment in interface PPOPackage
Returns:
the meta object for the attribute 'Comment'.
See Also:
PurchaseOrder.getComment(), PPOPackage.getPurchaseOrder()

getPurchaseOrder_OrderDate

public EAttribute getPurchaseOrder_OrderDate()

Specified by:
getPurchaseOrder_OrderDate in interface PPOPackage
Returns:
the meta object for the attribute 'Order Date'.
See Also:
PurchaseOrder.getOrderDate(), PPOPackage.getPurchaseOrder()

getPurchaseOrder_BillTo

public EReference getPurchaseOrder_BillTo()

Specified by:
getPurchaseOrder_BillTo in interface PPOPackage
Returns:
the meta object for the containment reference 'Bill To'.
See Also:
PurchaseOrder.getBillTo(), PPOPackage.getPurchaseOrder()

getPurchaseOrder_ShipTo

public EReference getPurchaseOrder_ShipTo()

Specified by:
getPurchaseOrder_ShipTo in interface PPOPackage
Returns:
the meta object for the containment reference 'Ship To'.
See Also:
PurchaseOrder.getShipTo(), PPOPackage.getPurchaseOrder()

getSKU

public EDataType getSKU()

Specified by:
getSKU in interface PPOPackage
Returns:
the meta object for data type 'SKU'.
See Also:
String

getDate

public EDataType getDate()

Specified by:
getDate in interface PPOPackage
Returns:
the meta object for data type 'Date'.
See Also:
Date

getPPOFactory

public PPOFactory getPPOFactory()

Specified by:
getPPOFactory in interface PPOPackage
Returns:
the factory that creates the instances of the model.

createPackageContents

public void createPackageContents()
Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but its first.


initializePackageContents

public void initializePackageContents()
Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any invocation but its first.


createEcoreAnnotations

protected void createEcoreAnnotations()
Initializes the annotations for http://www.eclipse.org/emf/2002/Ecore.


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