org.eclipse.emf.test.models.movie.db.impl
Class DBFactoryImpl

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.EFactoryImpl
                          extended by org.eclipse.emf.test.models.movie.db.impl.DBFactoryImpl
All Implemented Interfaces:
Notifier, EFactory, EModelElement, EObject, EStructuralFeature.Internal.DynamicValueHolder, InternalEObject, DBFactory

public class DBFactoryImpl
extends EFactoryImpl
implements DBFactory

An implementation of the model Factory.


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.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl
EDATE_FORMATS, ePackage
 
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.movie.db.DBFactory
eINSTANCE
 
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
DBFactoryImpl()
          Creates an instance of the factory
 
Method Summary
 java.lang.String convertActorsListToString(EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertGenreTypesObjectToString(EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertGenreTypesToString(EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertRatingTypeObjectToString(EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertRatingTypeToString(EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertRatingValuesObjectToString(EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertRatingValuesToString(EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertToString(EDataType eDataType, java.lang.Object instanceValue)
           
 EObject create(EClass eClass)
           
 java.util.List<java.lang.String> createActorsListFromString(EDataType eDataType, java.lang.String initialValue)
           
 CriticsReviewType createCriticsReviewType()
           
 CustomerReviewType createCustomerReviewType()
           
 DocumentRoot createDocumentRoot()
           
 java.lang.Object createFromString(EDataType eDataType, java.lang.String initialValue)
           
 GenreTypes createGenreTypesFromString(EDataType eDataType, java.lang.String initialValue)
           
 GenreTypes createGenreTypesObjectFromString(EDataType eDataType, java.lang.String initialValue)
           
 MovieDBType createMovieDBType()
           
 MovieType createMovieType()
           
 java.lang.Integer createRatingTypeFromString(EDataType eDataType, java.lang.String initialValue)
           
 java.lang.Integer createRatingTypeObjectFromString(EDataType eDataType, java.lang.String initialValue)
           
 java.lang.Integer createRatingValuesFromString(EDataType eDataType, java.lang.String initialValue)
           
 java.lang.Integer createRatingValuesObjectFromString(EDataType eDataType, java.lang.String initialValue)
           
 DBPackage getDBPackage()
           
static DBPackage getPackage()
          Deprecated.  
static DBFactory 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.EModelElementImpl
eObjectForURIFragmentSegment, eSetDirectResource, eURIFragmentSegment, freeze, 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, 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 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.EFactory
getEPackage, setEPackage
 
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
 

Constructor Detail

DBFactoryImpl

public DBFactoryImpl()
Creates an instance of the factory.

Method Detail

init

public static DBFactory 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)

createCriticsReviewType

public CriticsReviewType createCriticsReviewType()

Specified by:
createCriticsReviewType in interface DBFactory
Returns:
a new object of class 'Critics Review Type'.

createCustomerReviewType

public CustomerReviewType createCustomerReviewType()

Specified by:
createCustomerReviewType in interface DBFactory
Returns:
a new object of class 'Customer Review Type'.

createDocumentRoot

public DocumentRoot createDocumentRoot()

Specified by:
createDocumentRoot in interface DBFactory
Returns:
a new object of class 'Document Root'.

createMovieDBType

public MovieDBType createMovieDBType()

Specified by:
createMovieDBType in interface DBFactory
Returns:
a new object of class 'Movie DB Type'.

createMovieType

public MovieType createMovieType()

Specified by:
createMovieType in interface DBFactory
Returns:
a new object of class 'Movie Type'.

createGenreTypesFromString

public GenreTypes createGenreTypesFromString(EDataType eDataType,
                                             java.lang.String initialValue)


convertGenreTypesToString

public java.lang.String convertGenreTypesToString(EDataType eDataType,
                                                  java.lang.Object instanceValue)


createActorsListFromString

public java.util.List<java.lang.String> createActorsListFromString(EDataType eDataType,
                                                                   java.lang.String initialValue)


convertActorsListToString

public java.lang.String convertActorsListToString(EDataType eDataType,
                                                  java.lang.Object instanceValue)


createGenreTypesObjectFromString

public GenreTypes createGenreTypesObjectFromString(EDataType eDataType,
                                                   java.lang.String initialValue)


convertGenreTypesObjectToString

public java.lang.String convertGenreTypesObjectToString(EDataType eDataType,
                                                        java.lang.Object instanceValue)


createRatingTypeFromString

public java.lang.Integer createRatingTypeFromString(EDataType eDataType,
                                                    java.lang.String initialValue)


convertRatingTypeToString

public java.lang.String convertRatingTypeToString(EDataType eDataType,
                                                  java.lang.Object instanceValue)


createRatingTypeObjectFromString

public java.lang.Integer createRatingTypeObjectFromString(EDataType eDataType,
                                                          java.lang.String initialValue)


convertRatingTypeObjectToString

public java.lang.String convertRatingTypeObjectToString(EDataType eDataType,
                                                        java.lang.Object instanceValue)


createRatingValuesFromString

public java.lang.Integer createRatingValuesFromString(EDataType eDataType,
                                                      java.lang.String initialValue)


convertRatingValuesToString

public java.lang.String convertRatingValuesToString(EDataType eDataType,
                                                    java.lang.Object instanceValue)


createRatingValuesObjectFromString

public java.lang.Integer createRatingValuesObjectFromString(EDataType eDataType,
                                                            java.lang.String initialValue)


convertRatingValuesObjectToString

public java.lang.String convertRatingValuesObjectToString(EDataType eDataType,
                                                          java.lang.Object instanceValue)


getDBPackage

public DBPackage getDBPackage()

Specified by:
getDBPackage in interface DBFactory
Returns:
the package supported by this factory.

getPackage

@Deprecated
public static DBPackage getPackage()
Deprecated. 


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