org.eclipse.emf.test.models.ppo
Interface PPOPackage

All Superinterfaces:
EModelElement, ENamedElement, EObject, EPackage, Notifier
All Known Implementing Classes:
PPOPackageImpl

public interface PPOPackage
extends EPackage

The Package for the model. It contains accessors for the meta objects to represent

See Also:
PPOFactory

Nested Class Summary
static interface PPOPackage.Literals
          Defines literals for the meta objects that represent each class, each feature of each class, each enum, and each data type
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EPackage
EPackage.Descriptor, EPackage.Registry
 
Field Summary
static int DATE
          The meta object id for the 'Date' data type
static PPOPackage eINSTANCE
          The singleton instance of the package
static java.lang.String eNAME
          The package name
static java.lang.String eNS_PREFIX
          The package namespace name
static java.lang.String eNS_URI
          The package namespace URI
static int ITEM
          The meta object id for the 'Item' class
static int ITEM__COMMENT
          The feature id for the 'Comment' attribute
static int ITEM__PART_NUM
          The feature id for the 'Part Num' attribute
static int ITEM__PRODUCT_NAME
          The feature id for the 'Product Name' attribute
static int ITEM__QUANTITY
          The feature id for the 'Quantity' attribute
static int ITEM__SHIP_DATE
          The feature id for the 'Ship Date' attribute
static int ITEM__US_PRICE
          The feature id for the 'US Price' attribute
static int ITEM_FEATURE_COUNT
          The number of structural features of the 'Item' class
static int PURCHASE_ORDER
          The meta object id for the 'Purchase Order' class
static int PURCHASE_ORDER__BILL_TO
          The feature id for the 'Bill To' containment reference
static int PURCHASE_ORDER__COMMENT
          The feature id for the 'Comment' attribute
static int PURCHASE_ORDER__ITEMS
          The feature id for the 'Items' containment reference list
static int PURCHASE_ORDER__ORDER_DATE
          The feature id for the 'Order Date' attribute
static int PURCHASE_ORDER__SHIP_TO
          The feature id for the 'Ship To' containment reference
static int PURCHASE_ORDER_FEATURE_COUNT
          The number of structural features of the 'Purchase Order' class
static int SKU
          The meta object id for the 'SKU' data type
static int US_ADDRESS
          The meta object id for the 'US Address' class
static int US_ADDRESS__CITY
          The feature id for the 'City' attribute
static int US_ADDRESS__COUNTRY
          The feature id for the 'Country' attribute
static int US_ADDRESS__NAME
          The feature id for the 'Name' attribute
static int US_ADDRESS__STATE
          The feature id for the 'State' attribute
static int US_ADDRESS__STREET
          The feature id for the 'Street' attribute
static int US_ADDRESS__ZIP
          The feature id for the 'Zip' attribute
static int US_ADDRESS_FEATURE_COUNT
          The number of structural features of the 'US Address' class
 
Method Summary
 EDataType getDate()
          Returns the meta object for data type 'Date'
 EAttribute getItem_Comment()
          Returns the meta object for the attribute 'Comment'
 EAttribute getItem_PartNum()
          Returns the meta object for the attribute 'Part Num'
 EAttribute getItem_ProductName()
          Returns the meta object for the attribute 'Product Name'
 EAttribute getItem_Quantity()
          Returns the meta object for the attribute 'Quantity'
 EAttribute getItem_ShipDate()
          Returns the meta object for the attribute 'Ship Date'
 EAttribute getItem_USPrice()
          Returns the meta object for the attribute 'US Price'
 EClass getItem()
          Returns the meta object for class 'Item'
 PPOFactory getPPOFactory()
          Returns the factory that creates the instances of the model
 EReference getPurchaseOrder_BillTo()
          Returns the meta object for the containment reference 'Bill To'
 EAttribute getPurchaseOrder_Comment()
          Returns the meta object for the attribute 'Comment'
 EReference getPurchaseOrder_Items()
          Returns the meta object for the containment reference list 'Items'
 EAttribute getPurchaseOrder_OrderDate()
          Returns the meta object for the attribute 'Order Date'
 EReference getPurchaseOrder_ShipTo()
          Returns the meta object for the containment reference 'Ship To'
 EClass getPurchaseOrder()
          Returns the meta object for class 'Purchase Order'
 EDataType getSKU()
          Returns the meta object for data type 'SKU'
 EAttribute getUSAddress_City()
          Returns the meta object for the attribute 'City'
 EAttribute getUSAddress_Country()
          Returns the meta object for the attribute 'Country'
 EAttribute getUSAddress_Name()
          Returns the meta object for the attribute 'Name'
 EAttribute getUSAddress_State()
          Returns the meta object for the attribute 'State'
 EAttribute getUSAddress_Street()
          Returns the meta object for the attribute 'Street'
 EAttribute getUSAddress_Zip()
          Returns the meta object for the attribute 'Zip'
 EClass getUSAddress()
          Returns the meta object for class 'US Address'
 
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
 

Field Detail

eNAME

static final java.lang.String eNAME
The package name.

See Also:
Constant Field Values

eNS_URI

static final java.lang.String eNS_URI
The package namespace URI.

See Also:
Constant Field Values

eNS_PREFIX

static final java.lang.String eNS_PREFIX
The package namespace name.

See Also:
Constant Field Values

eINSTANCE

static final PPOPackage eINSTANCE
The singleton instance of the package.


ITEM

static final int ITEM
The meta object id for the 'Item' class.

See Also:
ItemImpl, PPOPackageImpl.getItem(), Constant Field Values

ITEM__PRODUCT_NAME

static final int ITEM__PRODUCT_NAME
The feature id for the 'Product Name' attribute.

See Also:
Constant Field Values

ITEM__QUANTITY

static final int ITEM__QUANTITY
The feature id for the 'Quantity' attribute.

See Also:
Constant Field Values

ITEM__US_PRICE

static final int ITEM__US_PRICE
The feature id for the 'US Price' attribute.

See Also:
Constant Field Values

ITEM__COMMENT

static final int ITEM__COMMENT
The feature id for the 'Comment' attribute.

See Also:
Constant Field Values

ITEM__SHIP_DATE

static final int ITEM__SHIP_DATE
The feature id for the 'Ship Date' attribute.

See Also:
Constant Field Values

ITEM__PART_NUM

static final int ITEM__PART_NUM
The feature id for the 'Part Num' attribute.

See Also:
Constant Field Values

ITEM_FEATURE_COUNT

static final int ITEM_FEATURE_COUNT
The number of structural features of the 'Item' class.

See Also:
Constant Field Values

US_ADDRESS

static final int US_ADDRESS
The meta object id for the 'US Address' class.

See Also:
USAddressImpl, PPOPackageImpl.getUSAddress(), Constant Field Values

US_ADDRESS__NAME

static final int US_ADDRESS__NAME
The feature id for the 'Name' attribute.

See Also:
Constant Field Values

US_ADDRESS__STREET

static final int US_ADDRESS__STREET
The feature id for the 'Street' attribute.

See Also:
Constant Field Values

US_ADDRESS__CITY

static final int US_ADDRESS__CITY
The feature id for the 'City' attribute.

See Also:
Constant Field Values

US_ADDRESS__STATE

static final int US_ADDRESS__STATE
The feature id for the 'State' attribute.

See Also:
Constant Field Values

US_ADDRESS__ZIP

static final int US_ADDRESS__ZIP
The feature id for the 'Zip' attribute.

See Also:
Constant Field Values

US_ADDRESS__COUNTRY

static final int US_ADDRESS__COUNTRY
The feature id for the 'Country' attribute.

See Also:
Constant Field Values

US_ADDRESS_FEATURE_COUNT

static final int US_ADDRESS_FEATURE_COUNT
The number of structural features of the 'US Address' class.

See Also:
Constant Field Values

PURCHASE_ORDER

static final int PURCHASE_ORDER
The meta object id for the 'Purchase Order' class.

See Also:
PurchaseOrderImpl, PPOPackageImpl.getPurchaseOrder(), Constant Field Values

PURCHASE_ORDER__ITEMS

static final int PURCHASE_ORDER__ITEMS
The feature id for the 'Items' containment reference list.

See Also:
Constant Field Values

PURCHASE_ORDER__COMMENT

static final int PURCHASE_ORDER__COMMENT
The feature id for the 'Comment' attribute.

See Also:
Constant Field Values

PURCHASE_ORDER__ORDER_DATE

static final int PURCHASE_ORDER__ORDER_DATE
The feature id for the 'Order Date' attribute.

See Also:
Constant Field Values

PURCHASE_ORDER__BILL_TO

static final int PURCHASE_ORDER__BILL_TO
The feature id for the 'Bill To' containment reference.

See Also:
Constant Field Values

PURCHASE_ORDER__SHIP_TO

static final int PURCHASE_ORDER__SHIP_TO
The feature id for the 'Ship To' containment reference.

See Also:
Constant Field Values

PURCHASE_ORDER_FEATURE_COUNT

static final int PURCHASE_ORDER_FEATURE_COUNT
The number of structural features of the 'Purchase Order' class.

See Also:
Constant Field Values

SKU

static final int SKU
The meta object id for the 'SKU' data type.

See Also:
String, PPOPackageImpl.getSKU(), Constant Field Values

DATE

static final int DATE
The meta object id for the 'Date' data type.

See Also:
Date, PPOPackageImpl.getDate(), Constant Field Values
Method Detail

getItem

EClass getItem()
Returns the meta object for class 'Item'.

Returns:
the meta object for class 'Item'.
See Also:
Item

getItem_ProductName

EAttribute getItem_ProductName()
Returns the meta object for the attribute 'Product Name'.

Returns:
the meta object for the attribute 'Product Name'.
See Also:
Item.getProductName(), getItem()

getItem_Quantity

EAttribute getItem_Quantity()
Returns the meta object for the attribute 'Quantity'.

Returns:
the meta object for the attribute 'Quantity'.
See Also:
Item.getQuantity(), getItem()

getItem_USPrice

EAttribute getItem_USPrice()
Returns the meta object for the attribute 'US Price'.

Returns:
the meta object for the attribute 'US Price'.
See Also:
Item.getUSPrice(), getItem()

getItem_Comment

EAttribute getItem_Comment()
Returns the meta object for the attribute 'Comment'.

Returns:
the meta object for the attribute 'Comment'.
See Also:
Item.getComment(), getItem()

getItem_ShipDate

EAttribute getItem_ShipDate()
Returns the meta object for the attribute 'Ship Date'.

Returns:
the meta object for the attribute 'Ship Date'.
See Also:
Item.getShipDate(), getItem()

getItem_PartNum

EAttribute getItem_PartNum()
Returns the meta object for the attribute 'Part Num'.

Returns:
the meta object for the attribute 'Part Num'.
See Also:
Item.getPartNum(), getItem()

getUSAddress

EClass getUSAddress()
Returns the meta object for class 'US Address'.

Returns:
the meta object for class 'US Address'.
See Also:
USAddress

getUSAddress_Name

EAttribute getUSAddress_Name()
Returns the meta object for the attribute 'Name'.

Returns:
the meta object for the attribute 'Name'.
See Also:
USAddress.getName(), getUSAddress()

getUSAddress_Street

EAttribute getUSAddress_Street()
Returns the meta object for the attribute 'Street'.

Returns:
the meta object for the attribute 'Street'.
See Also:
USAddress.getStreet(), getUSAddress()

getUSAddress_City

EAttribute getUSAddress_City()
Returns the meta object for the attribute 'City'.

Returns:
the meta object for the attribute 'City'.
See Also:
USAddress.getCity(), getUSAddress()

getUSAddress_State

EAttribute getUSAddress_State()
Returns the meta object for the attribute 'State'.

Returns:
the meta object for the attribute 'State'.
See Also:
USAddress.getState(), getUSAddress()

getUSAddress_Zip

EAttribute getUSAddress_Zip()
Returns the meta object for the attribute 'Zip'.

Returns:
the meta object for the attribute 'Zip'.
See Also:
USAddress.getZip(), getUSAddress()

getUSAddress_Country

EAttribute getUSAddress_Country()
Returns the meta object for the attribute 'Country'.

Returns:
the meta object for the attribute 'Country'.
See Also:
USAddress.getCountry(), getUSAddress()

getPurchaseOrder

EClass getPurchaseOrder()
Returns the meta object for class 'Purchase Order'.

Returns:
the meta object for class 'Purchase Order'.
See Also:
PurchaseOrder

getPurchaseOrder_Items

EReference getPurchaseOrder_Items()
Returns the meta object for the containment reference list 'Items'.

Returns:
the meta object for the containment reference list 'Items'.
See Also:
PurchaseOrder.getItems(), getPurchaseOrder()

getPurchaseOrder_Comment

EAttribute getPurchaseOrder_Comment()
Returns the meta object for the attribute 'Comment'.

Returns:
the meta object for the attribute 'Comment'.
See Also:
PurchaseOrder.getComment(), getPurchaseOrder()

getPurchaseOrder_OrderDate

EAttribute getPurchaseOrder_OrderDate()
Returns the meta object for the attribute 'Order Date'.

Returns:
the meta object for the attribute 'Order Date'.
See Also:
PurchaseOrder.getOrderDate(), getPurchaseOrder()

getPurchaseOrder_BillTo

EReference getPurchaseOrder_BillTo()
Returns the meta object for the containment reference 'Bill To'.

Returns:
the meta object for the containment reference 'Bill To'.
See Also:
PurchaseOrder.getBillTo(), getPurchaseOrder()

getPurchaseOrder_ShipTo

EReference getPurchaseOrder_ShipTo()
Returns the meta object for the containment reference 'Ship To'.

Returns:
the meta object for the containment reference 'Ship To'.
See Also:
PurchaseOrder.getShipTo(), getPurchaseOrder()

getSKU

EDataType getSKU()
Returns the meta object for data type 'SKU'.

Returns:
the meta object for data type 'SKU'.
See Also:
String

getDate

EDataType getDate()
Returns the meta object for data type 'Date'.

Returns:
the meta object for data type 'Date'.
See Also:
Date

getPPOFactory

PPOFactory getPPOFactory()
Returns the factory that creates the instances of the model.

Returns:
the factory that creates the instances of the model.

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