com.hammurapi.config.impl
Class ConfigFactoryImpl

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 com.hammurapi.config.impl.ConfigFactoryImpl
All Implemented Interfaces:
ConfigFactory, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EFactory, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject

public class ConfigFactoryImpl
extends org.eclipse.emf.ecore.impl.EFactoryImpl
implements ConfigFactory

An implementation of the model Factory.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.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 com.hammurapi.config.ConfigFactory
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
ConfigFactoryImpl()
          Creates an instance of the factory.
 
Method Summary
 String convertEClassLoaderToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
           
 String convertEConfigurationExceptionToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
           
 String convertEFactoryClosureToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
           
 String convertEFactoryConfigToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
           
 String convertETokenSourceToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
           
 String convertEUrlToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
           
 String convertFileToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
           
 String convertInjectionConfigToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
           
 String convertToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
           
 org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass eClass)
           
 Collection createCollection()
           
 Constructor createConstructor()
           
 ClassLoader createEClassLoaderFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
           
 ConfigurationException createEConfigurationExceptionFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
           
 FactoryClosure<?> createEFactoryClosureFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
           
 FactoryConfig createEFactoryConfigFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
           
 TokenExpander.TokenSource createETokenSourceFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
           
 URL createEUrlFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
           
 File createFileFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
           
 Object createFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
           
 InjectionConfig createInjectionConfigFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
           
 Map createMap()
           
 MapEntry createMapEntry()
           
 MethodCall createMethodCall()
           
 NamedCollection createNamedCollection()
           
 NamedMap createNamedMap()
           
 NamedObjectDefinition createNamedObjectDefinition()
           
 NamedReference createNamedReference()
           
 NamedScript createNamedScript()
           
 Null createNull()
           
 ObjectDefinition createObjectDefinition()
           
 Path createPath()
           
 Profile createProfile()
           
 Reference createReference()
           
 Script createScript()
           
 Source createSource()
           
 ConfigPackage getConfigPackage()
           
static ConfigPackage getPackage()
          Deprecated.  
static ConfigFactory init()
          Creates the default factory implementation.
 
Methods inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl
basicCreate, basicSetEPackage, collapseWhiteSpace, convertToString, createFromString, eGet, eInverseAdd, eInverseRemove, 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, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, 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, 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

ConfigFactoryImpl

public ConfigFactoryImpl()
Creates an instance of the factory.

Method Detail

init

public static ConfigFactory init()
Creates the default factory implementation.


create

public org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass eClass)

Specified by:
create in interface org.eclipse.emf.ecore.EFactory
Overrides:
create in class org.eclipse.emf.ecore.impl.EFactoryImpl

createFromString

public Object createFromString(org.eclipse.emf.ecore.EDataType eDataType,
                               String initialValue)

Specified by:
createFromString in interface org.eclipse.emf.ecore.EFactory
Overrides:
createFromString in class org.eclipse.emf.ecore.impl.EFactoryImpl

convertToString

public String convertToString(org.eclipse.emf.ecore.EDataType eDataType,
                              Object instanceValue)

Specified by:
convertToString in interface org.eclipse.emf.ecore.EFactory
Overrides:
convertToString in class org.eclipse.emf.ecore.impl.EFactoryImpl

createPath

public Path createPath()

Specified by:
createPath in interface ConfigFactory
Returns:
a new object of class 'Path'.

createProfile

public Profile createProfile()

Specified by:
createProfile in interface ConfigFactory
Returns:
a new object of class 'Profile'.

createObjectDefinition

public ObjectDefinition createObjectDefinition()

Specified by:
createObjectDefinition in interface ConfigFactory
Returns:
a new object of class 'Object Definition'.

createCollection

public Collection createCollection()

Specified by:
createCollection in interface ConfigFactory
Returns:
a new object of class 'Collection'.

createConstructor

public Constructor createConstructor()

Specified by:
createConstructor in interface ConfigFactory
Returns:
a new object of class 'Constructor'.

createMap

public Map createMap()

Specified by:
createMap in interface ConfigFactory
Returns:
a new object of class 'Map'.

createMapEntry

public MapEntry createMapEntry()

Specified by:
createMapEntry in interface ConfigFactory
Returns:
a new object of class 'Map Entry'.

createReference

public Reference createReference()

Specified by:
createReference in interface ConfigFactory
Returns:
a new object of class 'Reference'.

createNull

public Null createNull()

Specified by:
createNull in interface ConfigFactory
Returns:
a new object of class 'Null'.

createScript

public Script createScript()

Specified by:
createScript in interface ConfigFactory
Returns:
a new object of class 'Script'.

createNamedReference

public NamedReference createNamedReference()

Specified by:
createNamedReference in interface ConfigFactory
Returns:
a new object of class 'Named Reference'.

createNamedObjectDefinition

public NamedObjectDefinition createNamedObjectDefinition()

Specified by:
createNamedObjectDefinition in interface ConfigFactory
Returns:
a new object of class 'Named Object Definition'.

createNamedCollection

public NamedCollection createNamedCollection()

Specified by:
createNamedCollection in interface ConfigFactory
Returns:
a new object of class 'Named Collection'.

createNamedMap

public NamedMap createNamedMap()

Specified by:
createNamedMap in interface ConfigFactory
Returns:
a new object of class 'Named Map'.

createMethodCall

public MethodCall createMethodCall()

Specified by:
createMethodCall in interface ConfigFactory
Returns:
a new object of class 'Method Call'.

createNamedScript

public NamedScript createNamedScript()

Specified by:
createNamedScript in interface ConfigFactory
Returns:
a new object of class 'Named Script'.

createSource

public Source createSource()

Specified by:
createSource in interface ConfigFactory
Returns:
a new object of class 'Source'.

createEFactoryClosureFromString

public FactoryClosure<?> createEFactoryClosureFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                                         String initialValue)


convertEFactoryClosureToString

public String convertEFactoryClosureToString(org.eclipse.emf.ecore.EDataType eDataType,
                                             Object instanceValue)


createEConfigurationExceptionFromString

public ConfigurationException createEConfigurationExceptionFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                                                      String initialValue)


convertEConfigurationExceptionToString

public String convertEConfigurationExceptionToString(org.eclipse.emf.ecore.EDataType eDataType,
                                                     Object instanceValue)


createEFactoryConfigFromString

public FactoryConfig createEFactoryConfigFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                                    String initialValue)


convertEFactoryConfigToString

public String convertEFactoryConfigToString(org.eclipse.emf.ecore.EDataType eDataType,
                                            Object instanceValue)


createEUrlFromString

public URL createEUrlFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                String initialValue)


convertEUrlToString

public String convertEUrlToString(org.eclipse.emf.ecore.EDataType eDataType,
                                  Object instanceValue)


createEClassLoaderFromString

public ClassLoader createEClassLoaderFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                                String initialValue)


convertEClassLoaderToString

public String convertEClassLoaderToString(org.eclipse.emf.ecore.EDataType eDataType,
                                          Object instanceValue)


createETokenSourceFromString

public TokenExpander.TokenSource createETokenSourceFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                                              String initialValue)


convertETokenSourceToString

public String convertETokenSourceToString(org.eclipse.emf.ecore.EDataType eDataType,
                                          Object instanceValue)


createFileFromString

public File createFileFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                 String initialValue)


convertFileToString

public String convertFileToString(org.eclipse.emf.ecore.EDataType eDataType,
                                  Object instanceValue)


createInjectionConfigFromString

public InjectionConfig createInjectionConfigFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                                       String initialValue)


convertInjectionConfigToString

public String convertInjectionConfigToString(org.eclipse.emf.ecore.EDataType eDataType,
                                             Object instanceValue)


getConfigPackage

public ConfigPackage getConfigPackage()

Specified by:
getConfigPackage in interface ConfigFactory
Returns:
the package supported by this factory.

getPackage

@Deprecated
public static ConfigPackage getPackage()
Deprecated.