org.eclipse.mtl.cst
Interface CstFactory

All Superinterfaces:
org.eclipse.emf.ecore.EFactory, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
CstFactoryImpl

public interface CstFactory
extends org.eclipse.emf.ecore.EFactory

The Factory for the model. It provides a create method for each non-abstract class of the model.

See Also:
CstPackage

Field Summary
static CstFactory eINSTANCE
          The singleton instance of the factory.
 
Method Summary
 Block createBlock()
          Returns a new object of class 'Block'.
 Comment createComment()
          Returns a new object of class 'Comment'.
 FileBlock createFileBlock()
          Returns a new object of class 'File Block'.
 ForBlock createForBlock()
          Returns a new object of class 'For Block'.
 IfBlock createIfBlock()
          Returns a new object of class 'If Block'.
 InitSection createInitSection()
          Returns a new object of class 'Init Section'.
 LetBlock createLetBlock()
          Returns a new object of class 'Let Block'.
 Macro createMacro()
          Returns a new object of class 'Macro'.
 ModelExpression createModelExpression()
          Returns a new object of class 'Model Expression'.
 Module createModule()
          Returns a new object of class 'Module'.
 ModuleExtendsValue createModuleExtendsValue()
          Returns a new object of class 'Module Extends Value'.
 ModuleImportsValue createModuleImportsValue()
          Returns a new object of class 'Module Imports Value'.
 ProtectedAreaBlock createProtectedAreaBlock()
          Returns a new object of class 'Protected Area Block'.
 Query createQuery()
          Returns a new object of class 'Query'.
 Template createTemplate()
          Returns a new object of class 'Template'.
 TemplateExpression createTemplateExpression()
          Returns a new object of class 'Template Expression'.
 TemplateOverridesValue createTemplateOverridesValue()
          Returns a new object of class 'Template Overrides Value'.
 TextExpression createTextExpression()
          Returns a new object of class 'Text Expression'.
 TraceBlock createTraceBlock()
          Returns a new object of class 'Trace Block'.
 TypedModel createTypedModel()
          Returns a new object of class 'Typed Model'.
 Variable createVariable()
          Returns a new object of class 'Variable'.
 CstPackage getCstPackage()
          Returns the package supported by this factory.
 
Methods inherited from interface org.eclipse.emf.ecore.EFactory
convertToString, create, createFromString, 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
 

Field Detail

eINSTANCE

static final CstFactory eINSTANCE
The singleton instance of the factory.

Method Detail

createModule

Module createModule()
Returns a new object of class 'Module'.

Returns:
a new object of class 'Module'.

createModuleExtendsValue

ModuleExtendsValue createModuleExtendsValue()
Returns a new object of class 'Module Extends Value'.

Returns:
a new object of class 'Module Extends Value'.

createModuleImportsValue

ModuleImportsValue createModuleImportsValue()
Returns a new object of class 'Module Imports Value'.

Returns:
a new object of class 'Module Imports Value'.

createTypedModel

TypedModel createTypedModel()
Returns a new object of class 'Typed Model'.

Returns:
a new object of class 'Typed Model'.

createComment

Comment createComment()
Returns a new object of class 'Comment'.

Returns:
a new object of class 'Comment'.

createTemplate

Template createTemplate()
Returns a new object of class 'Template'.

Returns:
a new object of class 'Template'.

createTemplateOverridesValue

TemplateOverridesValue createTemplateOverridesValue()
Returns a new object of class 'Template Overrides Value'.

Returns:
a new object of class 'Template Overrides Value'.

createVariable

Variable createVariable()
Returns a new object of class 'Variable'.

Returns:
a new object of class 'Variable'.

createTemplateExpression

TemplateExpression createTemplateExpression()
Returns a new object of class 'Template Expression'.

Returns:
a new object of class 'Template Expression'.

createModelExpression

ModelExpression createModelExpression()
Returns a new object of class 'Model Expression'.

Returns:
a new object of class 'Model Expression'.

createTextExpression

TextExpression createTextExpression()
Returns a new object of class 'Text Expression'.

Returns:
a new object of class 'Text Expression'.

createBlock

Block createBlock()
Returns a new object of class 'Block'.

Returns:
a new object of class 'Block'.

createInitSection

InitSection createInitSection()
Returns a new object of class 'Init Section'.

Returns:
a new object of class 'Init Section'.

createProtectedAreaBlock

ProtectedAreaBlock createProtectedAreaBlock()
Returns a new object of class 'Protected Area Block'.

Returns:
a new object of class 'Protected Area Block'.

createForBlock

ForBlock createForBlock()
Returns a new object of class 'For Block'.

Returns:
a new object of class 'For Block'.

createIfBlock

IfBlock createIfBlock()
Returns a new object of class 'If Block'.

Returns:
a new object of class 'If Block'.

createLetBlock

LetBlock createLetBlock()
Returns a new object of class 'Let Block'.

Returns:
a new object of class 'Let Block'.

createFileBlock

FileBlock createFileBlock()
Returns a new object of class 'File Block'.

Returns:
a new object of class 'File Block'.

createTraceBlock

TraceBlock createTraceBlock()
Returns a new object of class 'Trace Block'.

Returns:
a new object of class 'Trace Block'.

createMacro

Macro createMacro()
Returns a new object of class 'Macro'.

Returns:
a new object of class 'Macro'.

createQuery

Query createQuery()
Returns a new object of class 'Query'.

Returns:
a new object of class 'Query'.

getCstPackage

CstPackage getCstPackage()
Returns the package supported by this factory.

Returns:
the package supported by this factory.

Copyright 2008 Obeo
All Rights Reserved.