org.eclipse.emf.test.models.customer.impl
Class CustomerPackageImpl

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.customer.impl.CustomerPackageImpl
All Implemented Interfaces:
Notifier, EModelElement, ENamedElement, EObject, EPackage, EStructuralFeature.Internal.DynamicValueHolder, InternalEObject, BasicExtendedMetaData.EPackageExtendedMetaData.Holder, CustomerPackage

public class CustomerPackageImpl
extends EPackageImpl
implements CustomerPackage

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.customer.CustomerPackage
CustomerPackage.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.customer.CustomerPackage
ADDRESS_TYPE, ADDRESS_TYPE__STREET, ADDRESS_TYPE__TOWN, ADDRESS_TYPE_FEATURE_COUNT, CANADA_ADDR, CANADA_ADDR__PROVINCE, CANADA_ADDR__STREET, CANADA_ADDR__TOWN, CANADA_ADDR__ZIP, CANADA_ADDR_FEATURE_COUNT, CREDIT_INFO, CREDIT_INFO__CC_NUMBER, CREDIT_INFO__EXPIRE_DATE, CREDIT_INFO__HOLDER, CREDIT_INFO_FEATURE_COUNT, CUSTOMER_TYPE, CUSTOMER_TYPE__ADDRESS, CUSTOMER_TYPE__CREDIT_CARD, CUSTOMER_TYPE__ID, CUSTOMER_TYPE__NAME, CUSTOMER_TYPE__PAYMENT_DAY, CUSTOMER_TYPE_FEATURE_COUNT, CUSTOMERS_TYPE, CUSTOMERS_TYPE__CUSTOMER, CUSTOMERS_TYPE__MIXED, CUSTOMERS_TYPE_FEATURE_COUNT, DOCUMENT_ROOT, DOCUMENT_ROOT__CUSTOMERS, DOCUMENT_ROOT__ID, DOCUMENT_ROOT__MIXED, DOCUMENT_ROOT__XMLNS_PREFIX_MAP, DOCUMENT_ROOT__XSI_SCHEMA_LOCATION, DOCUMENT_ROOT_FEATURE_COUNT, eINSTANCE, eNAME, eNS_PREFIX, eNS_URI, US_ADDR, US_ADDR__STATE, US_ADDR__STREET, US_ADDR__TOWN, US_ADDR__ZIP, US_ADDR_FEATURE_COUNT, US_STATE, US_STATE_OBJECT, ZIP_CODES, ZIP_UNION
 
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 createExtendedMetaDataAnnotations()
          Initializes the annotations for http:///org/eclipse/emf/ecore/util/ExtendedMetaData
 void createPackageContents()
          Creates the meta-model objects for the package.
 EAttribute getAddressType_Street()
           
 EAttribute getAddressType_Town()
           
 EClass getAddressType()
           
 EAttribute getCanadaAddr_Province()
           
 EAttribute getCanadaAddr_Zip()
           
 EClass getCanadaAddr()
           
 EAttribute getCreditInfo_CcNumber()
           
 EAttribute getCreditInfo_ExpireDate()
           
 EAttribute getCreditInfo_Holder()
           
 EClass getCreditInfo()
           
 CustomerFactory getCustomerFactory()
           
 EReference getCustomersType_Customer()
           
 EAttribute getCustomersType_Mixed()
           
 EClass getCustomersType()
           
 EReference getCustomerType_Address()
           
 EReference getCustomerType_CreditCard()
           
 EAttribute getCustomerType_ID()
           
 EAttribute getCustomerType_Name()
           
 EAttribute getCustomerType_PaymentDay()
           
 EClass getCustomerType()
           
 EReference getDocumentRoot_Customers()
           
 EAttribute getDocumentRoot_ID()
           
 EAttribute getDocumentRoot_Mixed()
           
 EReference getDocumentRoot_XMLNSPrefixMap()
           
 EReference getDocumentRoot_XSISchemaLocation()
           
 EClass getDocumentRoot()
           
 EAttribute getUSAddr_State()
           
 EAttribute getUSAddr_Zip()
           
 EClass getUSAddr()
           
 EEnum getUSState()
           
 EDataType getUSStateObject()
           
 EDataType getZipCodes()
           
 EDataType getZipUnion()
           
static CustomerPackage 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 CustomerPackage init()
Creates, registers, and initializes the Package for this model, and for any others upon which it depends.

This method is used to initialize CustomerPackage.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:
CustomerPackage.eNS_URI, createPackageContents(), initializePackageContents()

getAddressType

public EClass getAddressType()

Specified by:
getAddressType in interface CustomerPackage
Returns:
the meta object for class 'Address Type'.
See Also:
AddressType

getAddressType_Street

public EAttribute getAddressType_Street()

Specified by:
getAddressType_Street in interface CustomerPackage
Returns:
the meta object for the attribute 'Street'.
See Also:
AddressType.getStreet(), CustomerPackage.getAddressType()

getAddressType_Town

public EAttribute getAddressType_Town()

Specified by:
getAddressType_Town in interface CustomerPackage
Returns:
the meta object for the attribute 'Town'.
See Also:
AddressType.getTown(), CustomerPackage.getAddressType()

getCanadaAddr

public EClass getCanadaAddr()

Specified by:
getCanadaAddr in interface CustomerPackage
Returns:
the meta object for class 'Canada Addr'.
See Also:
CanadaAddr

getCanadaAddr_Zip

public EAttribute getCanadaAddr_Zip()

Specified by:
getCanadaAddr_Zip in interface CustomerPackage
Returns:
the meta object for the attribute 'Zip'.
See Also:
CanadaAddr.getZip(), CustomerPackage.getCanadaAddr()

getCanadaAddr_Province

public EAttribute getCanadaAddr_Province()

Specified by:
getCanadaAddr_Province in interface CustomerPackage
Returns:
the meta object for the attribute 'Province'.
See Also:
CanadaAddr.getProvince(), CustomerPackage.getCanadaAddr()

getCreditInfo

public EClass getCreditInfo()

Specified by:
getCreditInfo in interface CustomerPackage
Returns:
the meta object for class 'Credit Info'.
See Also:
CreditInfo

getCreditInfo_Holder

public EAttribute getCreditInfo_Holder()

Specified by:
getCreditInfo_Holder in interface CustomerPackage
Returns:
the meta object for the attribute 'Holder'.
See Also:
CreditInfo.getHolder(), CustomerPackage.getCreditInfo()

getCreditInfo_CcNumber

public EAttribute getCreditInfo_CcNumber()

Specified by:
getCreditInfo_CcNumber in interface CustomerPackage
Returns:
the meta object for the attribute 'Cc Number'.
See Also:
CreditInfo.getCcNumber(), CustomerPackage.getCreditInfo()

getCreditInfo_ExpireDate

public EAttribute getCreditInfo_ExpireDate()

Specified by:
getCreditInfo_ExpireDate in interface CustomerPackage
Returns:
the meta object for the attribute 'Expire Date'.
See Also:
CreditInfo.getExpireDate(), CustomerPackage.getCreditInfo()

getCustomersType

public EClass getCustomersType()

Specified by:
getCustomersType in interface CustomerPackage
Returns:
the meta object for class 'Customers Type'.
See Also:
CustomersType

getCustomersType_Mixed

public EAttribute getCustomersType_Mixed()

Specified by:
getCustomersType_Mixed in interface CustomerPackage
Returns:
the meta object for the attribute list 'Mixed'.
See Also:
CustomersType.getMixed(), CustomerPackage.getCustomersType()

getCustomersType_Customer

public EReference getCustomersType_Customer()

Specified by:
getCustomersType_Customer in interface CustomerPackage
Returns:
the meta object for the containment reference list 'Customer'.
See Also:
CustomersType.getCustomer(), CustomerPackage.getCustomersType()

getCustomerType

public EClass getCustomerType()

Specified by:
getCustomerType in interface CustomerPackage
Returns:
the meta object for class 'Type'.
See Also:
CustomerType

getCustomerType_Name

public EAttribute getCustomerType_Name()

Specified by:
getCustomerType_Name in interface CustomerPackage
Returns:
the meta object for the attribute 'Name'.
See Also:
CustomerType.getName(), CustomerPackage.getCustomerType()

getCustomerType_Address

public EReference getCustomerType_Address()

Specified by:
getCustomerType_Address in interface CustomerPackage
Returns:
the meta object for the containment reference 'Address'.
See Also:
CustomerType.getAddress(), CustomerPackage.getCustomerType()

getCustomerType_CreditCard

public EReference getCustomerType_CreditCard()

Specified by:
getCustomerType_CreditCard in interface CustomerPackage
Returns:
the meta object for the containment reference 'Credit Card'.
See Also:
CustomerType.getCreditCard(), CustomerPackage.getCustomerType()

getCustomerType_PaymentDay

public EAttribute getCustomerType_PaymentDay()

Specified by:
getCustomerType_PaymentDay in interface CustomerPackage
Returns:
the meta object for the attribute 'Payment Day'.
See Also:
CustomerType.getPaymentDay(), CustomerPackage.getCustomerType()

getCustomerType_ID

public EAttribute getCustomerType_ID()

Specified by:
getCustomerType_ID in interface CustomerPackage
Returns:
the meta object for the attribute 'ID'.
See Also:
CustomerType.getID(), CustomerPackage.getCustomerType()

getDocumentRoot

public EClass getDocumentRoot()

Specified by:
getDocumentRoot in interface CustomerPackage
Returns:
the meta object for class 'Document Root'.
See Also:
DocumentRoot

getDocumentRoot_Mixed

public EAttribute getDocumentRoot_Mixed()

Specified by:
getDocumentRoot_Mixed in interface CustomerPackage
Returns:
the meta object for the attribute list 'Mixed'.
See Also:
DocumentRoot.getMixed(), CustomerPackage.getDocumentRoot()

getDocumentRoot_XMLNSPrefixMap

public EReference getDocumentRoot_XMLNSPrefixMap()

Specified by:
getDocumentRoot_XMLNSPrefixMap in interface CustomerPackage
Returns:
the meta object for the map 'XMLNS Prefix Map'.
See Also:
DocumentRoot.getXMLNSPrefixMap(), CustomerPackage.getDocumentRoot()

getDocumentRoot_XSISchemaLocation

public EReference getDocumentRoot_XSISchemaLocation()

Specified by:
getDocumentRoot_XSISchemaLocation in interface CustomerPackage
Returns:
the meta object for the map 'XSI Schema Location'.
See Also:
DocumentRoot.getXSISchemaLocation(), CustomerPackage.getDocumentRoot()

getDocumentRoot_Customers

public EReference getDocumentRoot_Customers()

Specified by:
getDocumentRoot_Customers in interface CustomerPackage
Returns:
the meta object for the containment reference 'Customers'.
See Also:
DocumentRoot.getCustomers(), CustomerPackage.getDocumentRoot()

getDocumentRoot_ID

public EAttribute getDocumentRoot_ID()

Specified by:
getDocumentRoot_ID in interface CustomerPackage
Returns:
the meta object for the attribute 'ID'.
See Also:
DocumentRoot.getID(), CustomerPackage.getDocumentRoot()

getUSAddr

public EClass getUSAddr()

Specified by:
getUSAddr in interface CustomerPackage
Returns:
the meta object for class 'US Addr'.
See Also:
USAddr

getUSAddr_Zip

public EAttribute getUSAddr_Zip()

Specified by:
getUSAddr_Zip in interface CustomerPackage
Returns:
the meta object for the attribute 'Zip'.
See Also:
USAddr.getZip(), CustomerPackage.getUSAddr()

getUSAddr_State

public EAttribute getUSAddr_State()

Specified by:
getUSAddr_State in interface CustomerPackage
Returns:
the meta object for the attribute 'State'.
See Also:
USAddr.getState(), CustomerPackage.getUSAddr()

getUSState

public EEnum getUSState()

Specified by:
getUSState in interface CustomerPackage
Returns:
the meta object for enum 'US State'.
See Also:
USState

getUSStateObject

public EDataType getUSStateObject()

Specified by:
getUSStateObject in interface CustomerPackage
Returns:
the meta object for data type 'US State Object'.
See Also:
USState

getZipCodes

public EDataType getZipCodes()

Specified by:
getZipCodes in interface CustomerPackage
Returns:
the meta object for data type 'Zip Codes'.
See Also:
BigInteger

getZipUnion

public EDataType getZipUnion()

Specified by:
getZipUnion in interface CustomerPackage
Returns:
the meta object for data type 'Zip Union'.
See Also:
Object

getCustomerFactory

public CustomerFactory getCustomerFactory()

Specified by:
getCustomerFactory in interface CustomerPackage
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.


createExtendedMetaDataAnnotations

protected void createExtendedMetaDataAnnotations()
Initializes the annotations for http:///org/eclipse/emf/ecore/util/ExtendedMetaData.


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