org.eclipse.emf.codegen.ecore.genmodel.impl
Class GenModelFactoryImpl

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended byorg.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended byorg.eclipse.emf.ecore.impl.EObjectImpl
              extended byorg.eclipse.emf.ecore.impl.EModelElementImpl
                  extended byorg.eclipse.emf.ecore.impl.EFactoryImpl
                      extended byorg.eclipse.emf.codegen.ecore.genmodel.impl.GenModelFactoryImpl
All Implemented Interfaces:
EFactory, EModelElement, EObject, GenModelFactory, InternalEObject, Notifier

public class GenModelFactoryImpl
extends EFactoryImpl
implements GenModelFactory

An implementation of the model Factory.


Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList
 
Nested classes inherited from class 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, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenModelFactory
eINSTANCE
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
GenModelFactoryImpl()
          Creates an instance of the factory
 
Method Summary
 String convertToString(EDataType eDataType, Object instanceValue)
           
 EObject create(EClass eClass)
           
 Object createFromString(EDataType eDataType, String initialValue)
           
 GenClass createGenClass()
           
 GenDataType createGenDataType()
           
 GenEnum createGenEnum()
           
 GenEnumLiteral createGenEnumLiteral()
           
 GenFeature createGenFeature()
           
 GenModel createGenModel()
           
 GenOperation createGenOperation()
           
 GenPackage createGenPackage()
           
 GenParameter createGenParameter()
           
 GenModelPackage getGenModelPackage()
           
static GenModelPackage getPackage()
          Deprecated.  
 
Methods inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl
basicCreate, basicSetEPackage, collapseWhiteSpace, eGet, eInverseAdd, eInverseRemove, eIsSet, eSet, eStaticClass, eUnset, getEPackage, replaceWhiteSpace, setEPackage
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eURIFragmentSegment, freeze, getEAnnotation, getEAnnotations, isFrozen
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore, 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, 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

GenModelFactoryImpl

public GenModelFactoryImpl()
Creates an instance of the factory.

Method Detail

create

public EObject create(EClass eClass)

Specified by:
create in interface EFactory
Overrides:
create in class EFactoryImpl

createFromString

public Object createFromString(EDataType eDataType,
                               String initialValue)

Specified by:
createFromString in interface EFactory
Overrides:
createFromString in class EFactoryImpl

convertToString

public String convertToString(EDataType eDataType,
                              Object instanceValue)

Specified by:
convertToString in interface EFactory
Overrides:
convertToString in class EFactoryImpl

createGenModel

public GenModel createGenModel()

Specified by:
createGenModel in interface GenModelFactory
Returns:
a new object of class 'Gen Model'.

createGenPackage

public GenPackage createGenPackage()

Specified by:
createGenPackage in interface GenModelFactory
Returns:
a new object of class 'Gen Package'.

createGenClass

public GenClass createGenClass()

Specified by:
createGenClass in interface GenModelFactory
Returns:
a new object of class 'Gen Class'.

createGenFeature

public GenFeature createGenFeature()

Specified by:
createGenFeature in interface GenModelFactory
Returns:
a new object of class 'Gen Feature'.

createGenEnum

public GenEnum createGenEnum()

Specified by:
createGenEnum in interface GenModelFactory
Returns:
a new object of class 'Gen Enum'.

createGenEnumLiteral

public GenEnumLiteral createGenEnumLiteral()

Specified by:
createGenEnumLiteral in interface GenModelFactory
Returns:
a new object of class 'Gen Enum Literal'.

createGenDataType

public GenDataType createGenDataType()

Specified by:
createGenDataType in interface GenModelFactory
Returns:
a new object of class 'Gen Data Type'.

createGenOperation

public GenOperation createGenOperation()

Specified by:
createGenOperation in interface GenModelFactory
Returns:
a new object of class 'Gen Operation'.

createGenParameter

public GenParameter createGenParameter()

Specified by:
createGenParameter in interface GenModelFactory
Returns:
a new object of class 'Gen Parameter'.

getGenModelPackage

public GenModelPackage getGenModelPackage()

Specified by:
getGenModelPackage in interface GenModelFactory
Returns:
the package supported by this factory.

getPackage

public static GenModelPackage getPackage()
Deprecated.  


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