org.eclipse.mtl.cst.impl
Class CstFactoryImpl

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.EObjectImpl
              extended by org.eclipse.emf.ecore.impl.FlatEObjectImpl
                  extended by org.eclipse.emf.ecore.impl.EModelElementImpl
                      extended by org.eclipse.emf.ecore.impl.EFactoryImpl
                          extended by org.eclipse.mtl.cst.impl.CstFactoryImpl
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.InternalEObject, CstFactory

public class CstFactoryImpl
extends org.eclipse.emf.ecore.impl.EFactoryImpl
implements CstFactory

An implementation of the model Factory.


Nested Class Summary
 
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, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG
 
Fields inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl
eContents, eCrossReferences, eProxyURI
 
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 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.cst.CstFactory
eINSTANCE
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
CstFactoryImpl()
          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()
           
 Comment createComment()
           
 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()
           
 ModelExpression createModelExpression()
           
 Module createModule()
           
 ModuleExtendsValue createModuleExtendsValue()
           
 ModuleImportsValue createModuleImportsValue()
           
 OpenModeKind createOpenModeKindFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 ProtectedAreaBlock createProtectedAreaBlock()
           
 Query createQuery()
           
 Template createTemplate()
           
 TemplateExpression createTemplateExpression()
           
 TemplateOverridesValue createTemplateOverridesValue()
           
 TextExpression createTextExpression()
           
 TraceBlock createTraceBlock()
           
 TypedModel createTypedModel()
           
 Variable createVariable()
           
 VisibilityKind createVisibilityKindFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 CstPackage getCstPackage()
           
static CstPackage getPackage()
          Deprecated.  
static CstFactory 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, eURIFragmentSegment, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen
 
Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl
eContents, eCrossReferences, eIsProxy, eProperties, eProxyURI, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eSetClass, eSetDeliver
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, 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

CstFactoryImpl

public CstFactoryImpl()
Creates an instance of the factory.

Method Detail

init

public static CstFactory 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 CstFactory
Returns:
a new object of class 'Module'.

createModuleExtendsValue

public ModuleExtendsValue createModuleExtendsValue()

Specified by:
createModuleExtendsValue in interface CstFactory
Returns:
a new object of class 'Module Extends Value'.

createModuleImportsValue

public ModuleImportsValue createModuleImportsValue()

Specified by:
createModuleImportsValue in interface CstFactory
Returns:
a new object of class 'Module Imports Value'.

createTypedModel

public TypedModel createTypedModel()

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

createComment

public Comment createComment()

Specified by:
createComment in interface CstFactory
Returns:
a new object of class 'Comment'.

createTemplate

public Template createTemplate()

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

createTemplateOverridesValue

public TemplateOverridesValue createTemplateOverridesValue()

Specified by:
createTemplateOverridesValue in interface CstFactory
Returns:
a new object of class 'Template Overrides Value'.

createVariable

public Variable createVariable()

Specified by:
createVariable in interface CstFactory
Returns:
a new object of class 'Variable'.

createTemplateExpression

public TemplateExpression createTemplateExpression()

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

createModelExpression

public ModelExpression createModelExpression()

Specified by:
createModelExpression in interface CstFactory
Returns:
a new object of class 'Model Expression'.

createTextExpression

public TextExpression createTextExpression()

Specified by:
createTextExpression in interface CstFactory
Returns:
a new object of class 'Text Expression'.

createBlock

public Block createBlock()

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

createInitSection

public InitSection createInitSection()

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

createProtectedAreaBlock

public ProtectedAreaBlock createProtectedAreaBlock()

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

createForBlock

public ForBlock createForBlock()

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

createIfBlock

public IfBlock createIfBlock()

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

createLetBlock

public LetBlock createLetBlock()

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

createFileBlock

public FileBlock createFileBlock()

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

createTraceBlock

public TraceBlock createTraceBlock()

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

createMacro

public Macro createMacro()

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

createQuery

public Query createQuery()

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

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)


getCstPackage

public CstPackage getCstPackage()

Specified by:
getCstPackage in interface CstFactory
Returns:
the package supported by this factory.

getPackage

@Deprecated
public static CstPackage getPackage()
Deprecated. 


Copyright 2008 Obeo
All Rights Reserved.