org.eclipse.mtl
Interface MtlFactory

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:
MtlFactoryImpl

public interface MtlFactory
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:
MtlPackage

Field Summary
static MtlFactory eINSTANCE
          The singleton instance of the factory.
 
Method Summary
 Block createBlock()
          Returns a new object of class 'Block'.
 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'.
 MacroInvocation createMacroInvocation()
          Returns a new object of class 'Macro Invocation'.
 Module createModule()
          Returns a new object of class 'Module'.
 ProtectedAreaBlock createProtectedAreaBlock()
          Returns a new object of class 'Protected Area Block'.
 Query createQuery()
          Returns a new object of class 'Query'.
 QueryInvocation createQueryInvocation()
          Returns a new object of class 'Query Invocation'.
 Template createTemplate()
          Returns a new object of class 'Template'.
 TemplateExpression createTemplateExpression()
          Returns a new object of class 'Template Expression'.
 TemplateInvocation createTemplateInvocation()
          Returns a new object of class 'Template Invocation'.
 TraceBlock createTraceBlock()
          Returns a new object of class 'Trace Block'.
 TypedModel createTypedModel()
          Returns a new object of class 'Typed Model'.
 MtlPackage getMtlPackage()
          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 MtlFactory 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'.

createTemplateExpression

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

Returns:
a new object of class 'Template 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'.

createTemplate

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

Returns:
a new object of class 'Template'.

createTemplateInvocation

TemplateInvocation createTemplateInvocation()
Returns a new object of class 'Template Invocation'.

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

createQuery

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

Returns:
a new object of class 'Query'.

createQueryInvocation

QueryInvocation createQueryInvocation()
Returns a new object of class 'Query Invocation'.

Returns:
a new object of class 'Query Invocation'.

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'.

createMacroInvocation

MacroInvocation createMacroInvocation()
Returns a new object of class 'Macro Invocation'.

Returns:
a new object of class 'Macro Invocation'.

createTypedModel

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

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

getMtlPackage

MtlPackage getMtlPackage()
Returns the package supported by this factory.

Returns:
the package supported by this factory.

Copyright 2008 Obeo
All Rights Reserved.