org.eclipse.emf.test.models.customer.impl
Class CustomerFactoryImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.EModelElementImpl
org.eclipse.emf.ecore.impl.EFactoryImpl
org.eclipse.emf.test.models.customer.impl.CustomerFactoryImpl
- All Implemented Interfaces:
- Notifier, EFactory, EModelElement, EObject, EStructuralFeature.Internal.DynamicValueHolder, InternalEObject, CustomerFactory
public class CustomerFactoryImpl
- extends EFactoryImpl
- implements CustomerFactory
An implementation of the model Factory.
Method Summary |
java.lang.String |
convertToString(EDataType eDataType,
java.lang.Object instanceValue)
|
java.lang.String |
convertUSStateObjectToString(EDataType eDataType,
java.lang.Object instanceValue)
|
java.lang.String |
convertUSStateToString(EDataType eDataType,
java.lang.Object instanceValue)
|
java.lang.String |
convertZipCodesToString(EDataType eDataType,
java.lang.Object instanceValue)
|
java.lang.String |
convertZipUnionToString(EDataType eDataType,
java.lang.Object instanceValue)
|
EObject |
create(EClass eClass)
|
CanadaAddr |
createCanadaAddr()
|
CreditInfo |
createCreditInfo()
|
CustomersType |
createCustomersType()
|
CustomerType |
createCustomerType()
|
DocumentRoot |
createDocumentRoot()
|
java.lang.Object |
createFromString(EDataType eDataType,
java.lang.String initialValue)
|
USAddr |
createUSAddr()
|
USState |
createUSStateFromString(EDataType eDataType,
java.lang.String initialValue)
|
USState |
createUSStateObjectFromString(EDataType eDataType,
java.lang.String initialValue)
|
java.math.BigInteger |
createZipCodesFromString(EDataType eDataType,
java.lang.String initialValue)
|
java.lang.Object |
createZipUnionFromString(EDataType eDataType,
java.lang.String initialValue)
|
CustomerPackage |
getCustomerPackage()
|
static CustomerPackage |
getPackage()
Deprecated. |
static CustomerFactory |
init()
Creates the default factory implementation |
Methods inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl |
basicCreate, basicSetEPackage, collapseWhiteSpace, convertToString, createFromString, eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eSet, eStaticClass, eUnset, getEPackage, replaceWhiteSpace, setEPackage |
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, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI, eSettings |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, 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, toString |
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 |
CustomerFactoryImpl
public CustomerFactoryImpl()
- Creates an instance of the factory.
init
public static CustomerFactory init()
- Creates the default factory implementation.
create
public EObject create(EClass eClass)
-
- Specified by:
create
in interface EFactory
- Overrides:
create
in class EFactoryImpl
- Parameters:
eClass
- the class of the new instance.
- Returns:
- a new instance of the class.
createFromString
public java.lang.Object createFromString(EDataType eDataType,
java.lang.String initialValue)
-
- Specified by:
createFromString
in interface EFactory
- Overrides:
createFromString
in class EFactoryImpl
initialValue
- literal value of the instance.
- Returns:
- an instance of the data type.
- See Also:
EFactory.convertToString(EDataType, Object)
convertToString
public java.lang.String convertToString(EDataType eDataType,
java.lang.Object instanceValue)
-
- Specified by:
convertToString
in interface EFactory
- Overrides:
convertToString
in class EFactoryImpl
- Parameters:
eDataType
- the data type of the value.instanceValue
- the value.
- Returns:
- the literal value of the instance.
- See Also:
EFactory.createFromString(EDataType, String)
createCanadaAddr
public CanadaAddr createCanadaAddr()
-
- Specified by:
createCanadaAddr
in interface CustomerFactory
- Returns:
- a new object of class 'Canada Addr'.
createCreditInfo
public CreditInfo createCreditInfo()
-
- Specified by:
createCreditInfo
in interface CustomerFactory
- Returns:
- a new object of class 'Credit Info'.
createCustomersType
public CustomersType createCustomersType()
-
- Specified by:
createCustomersType
in interface CustomerFactory
- Returns:
- a new object of class 'Customers Type'.
createCustomerType
public CustomerType createCustomerType()
-
- Specified by:
createCustomerType
in interface CustomerFactory
- Returns:
- a new object of class 'Type'.
createDocumentRoot
public DocumentRoot createDocumentRoot()
-
- Specified by:
createDocumentRoot
in interface CustomerFactory
- Returns:
- a new object of class 'Document Root'.
createUSAddr
public USAddr createUSAddr()
-
- Specified by:
createUSAddr
in interface CustomerFactory
- Returns:
- a new object of class 'US Addr'.
createUSStateFromString
public USState createUSStateFromString(EDataType eDataType,
java.lang.String initialValue)
-
convertUSStateToString
public java.lang.String convertUSStateToString(EDataType eDataType,
java.lang.Object instanceValue)
-
createUSStateObjectFromString
public USState createUSStateObjectFromString(EDataType eDataType,
java.lang.String initialValue)
-
convertUSStateObjectToString
public java.lang.String convertUSStateObjectToString(EDataType eDataType,
java.lang.Object instanceValue)
-
createZipCodesFromString
public java.math.BigInteger createZipCodesFromString(EDataType eDataType,
java.lang.String initialValue)
-
convertZipCodesToString
public java.lang.String convertZipCodesToString(EDataType eDataType,
java.lang.Object instanceValue)
-
createZipUnionFromString
public java.lang.Object createZipUnionFromString(EDataType eDataType,
java.lang.String initialValue)
-
convertZipUnionToString
public java.lang.String convertZipUnionToString(EDataType eDataType,
java.lang.Object instanceValue)
-
getCustomerPackage
public CustomerPackage getCustomerPackage()
-
- Specified by:
getCustomerPackage
in interface CustomerFactory
- Returns:
- the package supported by this factory.
getPackage
@Deprecated
public static CustomerPackage getPackage()
- Deprecated.
-