org.eclipse.mtl.impl
Class MtlFactoryImpl

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.mtl.impl.MtlFactoryImpl
All Implemented Interfaces:
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, MtlFactory

public class MtlFactoryImpl
extends org.eclipse.emf.ecore.impl.EFactoryImpl
implements MtlFactory

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 java.lang.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 org.eclipse.mtl.MtlFactory
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
MtlFactoryImpl()
          Creates an instance of the factory.
 
Method Summary
 java.lang.String convertOpenModeKindToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertVisibilityKindToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass eClass)
           
 Block createBlock()
           
 FileBlock createFileBlock()
           
 ForBlock createForBlock()
           
 java.lang.Object createFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 IfBlock createIfBlock()
           
 InitSection createInitSection()
           
 LetBlock createLetBlock()
           
 Macro createMacro()
           
 MacroInvocation createMacroInvocation()
           
 Module createModule()
           
 OpenModeKind createOpenModeKindFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 ProtectedAreaBlock createProtectedAreaBlock()
           
 Query createQuery()
           
 QueryInvocation createQueryInvocation()
           
 Template createTemplate()
           
 TemplateExpression createTemplateExpression()
           
 TemplateInvocation createTemplateInvocation()
           
 TraceBlock createTraceBlock()
           
 TypedModel createTypedModel()
           
 VisibilityKind createVisibilityKindFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 MtlPackage getMtlPackage()
           
static MtlPackage getPackage()
          Deprecated.  
static MtlFactory 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

MtlFactoryImpl

public MtlFactoryImpl()
Creates an instance of the factory.

Method Detail

init

public static MtlFactory 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 java.lang.Object createFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                         java.lang.String initialValue)

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

convertToString

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

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

createModule

public Module createModule()

Specified by:
createModule in interface MtlFactory
Returns:
a new object of class 'Module'.

createTemplateExpression

public TemplateExpression createTemplateExpression()

Specified by:
createTemplateExpression in interface MtlFactory
Returns:
a new object of class 'Template Expression'.

createBlock

public Block createBlock()

Specified by:
createBlock in interface MtlFactory
Returns:
a new object of class 'Block'.

createInitSection

public InitSection createInitSection()

Specified by:
createInitSection in interface MtlFactory
Returns:
a new object of class 'Init Section'.

createTemplate

public Template createTemplate()

Specified by:
createTemplate in interface MtlFactory
Returns:
a new object of class 'Template'.

createTemplateInvocation

public TemplateInvocation createTemplateInvocation()

Specified by:
createTemplateInvocation in interface MtlFactory
Returns:
a new object of class 'Template Invocation'.

createQuery

public Query createQuery()

Specified by:
createQuery in interface MtlFactory
Returns:
a new object of class 'Query'.

createQueryInvocation

public QueryInvocation createQueryInvocation()

Specified by:
createQueryInvocation in interface MtlFactory
Returns:
a new object of class 'Query Invocation'.

createProtectedAreaBlock

public ProtectedAreaBlock createProtectedAreaBlock()

Specified by:
createProtectedAreaBlock in interface MtlFactory
Returns:
a new object of class 'Protected Area Block'.

createForBlock

public ForBlock createForBlock()

Specified by:
createForBlock in interface MtlFactory
Returns:
a new object of class 'For Block'.

createIfBlock

public IfBlock createIfBlock()

Specified by:
createIfBlock in interface MtlFactory
Returns:
a new object of class 'If Block'.

createLetBlock

public LetBlock createLetBlock()

Specified by:
createLetBlock in interface MtlFactory
Returns:
a new object of class 'Let Block'.

createFileBlock

public FileBlock createFileBlock()

Specified by:
createFileBlock in interface MtlFactory
Returns:
a new object of class 'File Block'.

createTraceBlock

public TraceBlock createTraceBlock()

Specified by:
createTraceBlock in interface MtlFactory
Returns:
a new object of class 'Trace Block'.

createMacro

public Macro createMacro()

Specified by:
createMacro in interface MtlFactory
Returns:
a new object of class 'Macro'.

createMacroInvocation

public MacroInvocation createMacroInvocation()

Specified by:
createMacroInvocation in interface MtlFactory
Returns:
a new object of class 'Macro Invocation'.

createTypedModel

public TypedModel createTypedModel()

Specified by:
createTypedModel in interface MtlFactory
Returns:
a new object of class 'Typed Model'.

createVisibilityKindFromString

public VisibilityKind createVisibilityKindFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                                     java.lang.String initialValue)


convertVisibilityKindToString

public java.lang.String convertVisibilityKindToString(org.eclipse.emf.ecore.EDataType eDataType,
                                                      java.lang.Object instanceValue)


createOpenModeKindFromString

public OpenModeKind createOpenModeKindFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                                 java.lang.String initialValue)


convertOpenModeKindToString

public java.lang.String convertOpenModeKindToString(org.eclipse.emf.ecore.EDataType eDataType,
                                                    java.lang.Object instanceValue)


getMtlPackage

public MtlPackage getMtlPackage()

Specified by:
getMtlPackage in interface MtlFactory
Returns:
the package supported by this factory.

getPackage

@Deprecated
public static MtlPackage getPackage()
Deprecated. 


Copyright 2008 Obeo
All Rights Reserved.