ujf.verimag.bip.cmodel.impl
Class CmodelFactoryImpl

java.lang.Object
  extended by EFactoryImpl
      extended by ujf.verimag.bip.cmodel.impl.CmodelFactoryImpl
All Implemented Interfaces:
CmodelFactory

public class CmodelFactoryImpl
extends EFactoryImpl
implements CmodelFactory

An implementation of the model Factory.


Field Summary
 
Fields inherited from interface ujf.verimag.bip.cmodel.CmodelFactory
eINSTANCE
 
Constructor Summary
CmodelFactoryImpl()
          Creates an instance of the factory.
 
Method Summary
 java.lang.String convertJumpTypeToString(EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertToString(EDataType eDataType, java.lang.Object instanceValue)
           
 EObject create(EClass eClass)
           
 CArgument createCArgument()
           
 CAssignStm createCAssignStm()
           
 CBlockStm createCBlockStm()
           
 CBodyItem createCBodyItem()
           
 CCall createCCall()
           
 CCallable createCCallable()
           
 CCaseItem createCCaseItem()
           
 CClass createCClass()
           
 CConditionalExpression createCConditionalExpression()
           
 CConditionalStm createCConditionalStm()
           
 CConstructor createCConstructor()
           
 CCreator createCCreator()
           
 CData createCData()
           
 CEnumType createCEnumType()
           
 CExpression createCExpression()
           
 CFor createCFor()
           
 CFunction createCFunction()
           
 CFunctionCall createCFunctionCall()
           
 CHeaderText createCHeaderText()
           
 CIfStm createCIfStm()
           
 CInclude createCInclude()
           
 CIndexed createCIndexed()
           
 CInitialization createCInitialization()
           
 CInitParameter createCInitParameter()
           
 CItem createCItem()
           
 CJump createCJump()
           
 CLiteral createCLiteral()
           
 CModule createCModule()
           
 COperation createCOperation()
           
 CPointed createCPointed()
           
 CReturn createCReturn()
           
 CSimpleName createCSimpleName()
           
 CStm createCStm()
           
 CStructured createCStructured()
           
 CSwitchStm createCSwitchStm()
           
 CText createCText()
           
 CTypeConvertion createCTypeConvertion()
           
 CTypedElement createCTypedElement()
           
 CWhileStm createCWhileStm()
           
 java.lang.Object createFromString(EDataType eDataType, java.lang.String initialValue)
           
 JumpType createJumpTypeFromString(EDataType eDataType, java.lang.String initialValue)
           
 CmodelPackage getCmodelPackage()
           
static CmodelPackage getPackage()
          Deprecated.  
static CmodelFactory init()
          Creates the default factory implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmodelFactoryImpl

public CmodelFactoryImpl()
Creates an instance of the factory.

Method Detail

init

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


create

public EObject create(EClass eClass)


createFromString

public java.lang.Object createFromString(EDataType eDataType,
                                         java.lang.String initialValue)


convertToString

public java.lang.String convertToString(EDataType eDataType,
                                        java.lang.Object instanceValue)


createCStm

public CStm createCStm()

Specified by:
createCStm in interface CmodelFactory
Returns:
a new object of class 'CStm'.

createCConditionalStm

public CConditionalStm createCConditionalStm()

Specified by:
createCConditionalStm in interface CmodelFactory
Returns:
a new object of class 'CConditional Stm'.

createCSwitchStm

public CSwitchStm createCSwitchStm()

Specified by:
createCSwitchStm in interface CmodelFactory
Returns:
a new object of class 'CSwitch Stm'.

createCWhileStm

public CWhileStm createCWhileStm()

Specified by:
createCWhileStm in interface CmodelFactory
Returns:
a new object of class 'CWhile Stm'.

createCIfStm

public CIfStm createCIfStm()

Specified by:
createCIfStm in interface CmodelFactory
Returns:
a new object of class 'CIf Stm'.

createCExpression

public CExpression createCExpression()

Specified by:
createCExpression in interface CmodelFactory
Returns:
a new object of class 'CExpression'.

createCCaseItem

public CCaseItem createCCaseItem()

Specified by:
createCCaseItem in interface CmodelFactory
Returns:
a new object of class 'CCase Item'.

createCJump

public CJump createCJump()

Specified by:
createCJump in interface CmodelFactory
Returns:
a new object of class 'CJump'.

createCCall

public CCall createCCall()

Specified by:
createCCall in interface CmodelFactory
Returns:
a new object of class 'CCall'.

createCAssignStm

public CAssignStm createCAssignStm()

Specified by:
createCAssignStm in interface CmodelFactory
Returns:
a new object of class 'CAssign Stm'.

createCFunctionCall

public CFunctionCall createCFunctionCall()

Specified by:
createCFunctionCall in interface CmodelFactory
Returns:
a new object of class 'CFunction Call'.

createCCreator

public CCreator createCCreator()

Specified by:
createCCreator in interface CmodelFactory
Returns:
a new object of class 'CCreator'.

createCTypedElement

public CTypedElement createCTypedElement()

Specified by:
createCTypedElement in interface CmodelFactory
Returns:
a new object of class 'CTyped Element'.

createCOperation

public COperation createCOperation()

Specified by:
createCOperation in interface CmodelFactory
Returns:
a new object of class 'COperation'.

createCTypeConvertion

public CTypeConvertion createCTypeConvertion()

Specified by:
createCTypeConvertion in interface CmodelFactory
Returns:
a new object of class 'CType Convertion'.

createCSimpleName

public CSimpleName createCSimpleName()

Specified by:
createCSimpleName in interface CmodelFactory
Returns:
a new object of class 'CSimple Name'.

createCIndexed

public CIndexed createCIndexed()

Specified by:
createCIndexed in interface CmodelFactory
Returns:
a new object of class 'CIndexed'.

createCStructured

public CStructured createCStructured()

Specified by:
createCStructured in interface CmodelFactory
Returns:
a new object of class 'CStructured'.

createCPointed

public CPointed createCPointed()

Specified by:
createCPointed in interface CmodelFactory
Returns:
a new object of class 'CPointed'.

createCLiteral

public CLiteral createCLiteral()

Specified by:
createCLiteral in interface CmodelFactory
Returns:
a new object of class 'CLiteral'.

createCModule

public CModule createCModule()

Specified by:
createCModule in interface CmodelFactory
Returns:
a new object of class 'CModule'.

createCInclude

public CInclude createCInclude()

Specified by:
createCInclude in interface CmodelFactory
Returns:
a new object of class 'CInclude'.

createCEnumType

public CEnumType createCEnumType()

Specified by:
createCEnumType in interface CmodelFactory
Returns:
a new object of class 'CEnum Type'.

createCClass

public CClass createCClass()

Specified by:
createCClass in interface CmodelFactory
Returns:
a new object of class 'CClass'.

createCCallable

public CCallable createCCallable()

Specified by:
createCCallable in interface CmodelFactory
Returns:
a new object of class 'CCallable'.

createCData

public CData createCData()

Specified by:
createCData in interface CmodelFactory
Returns:
a new object of class 'CData'.

createCArgument

public CArgument createCArgument()

Specified by:
createCArgument in interface CmodelFactory
Returns:
a new object of class 'CArgument'.

createCInitParameter

public CInitParameter createCInitParameter()

Specified by:
createCInitParameter in interface CmodelFactory
Returns:
a new object of class 'CInit Parameter'.

createCFunction

public CFunction createCFunction()

Specified by:
createCFunction in interface CmodelFactory
Returns:
a new object of class 'CFunction'.

createCConstructor

public CConstructor createCConstructor()

Specified by:
createCConstructor in interface CmodelFactory
Returns:
a new object of class 'CConstructor'.

createCItem

public CItem createCItem()

Specified by:
createCItem in interface CmodelFactory
Returns:
a new object of class 'CItem'.

createCText

public CText createCText()

Specified by:
createCText in interface CmodelFactory
Returns:
a new object of class 'CText'.

createCBodyItem

public CBodyItem createCBodyItem()

Specified by:
createCBodyItem in interface CmodelFactory
Returns:
a new object of class 'CBody Item'.

createCBlockStm

public CBlockStm createCBlockStm()

Specified by:
createCBlockStm in interface CmodelFactory
Returns:
a new object of class 'CBlock Stm'.

createCReturn

public CReturn createCReturn()

Specified by:
createCReturn in interface CmodelFactory
Returns:
a new object of class 'CReturn'.

createCInitialization

public CInitialization createCInitialization()

Specified by:
createCInitialization in interface CmodelFactory
Returns:
a new object of class 'CInitialization'.

createCFor

public CFor createCFor()

Specified by:
createCFor in interface CmodelFactory
Returns:
a new object of class 'CFor'.

createCConditionalExpression

public CConditionalExpression createCConditionalExpression()

Specified by:
createCConditionalExpression in interface CmodelFactory
Returns:
a new object of class 'CConditional Expression'.

createCHeaderText

public CHeaderText createCHeaderText()

Specified by:
createCHeaderText in interface CmodelFactory
Returns:
a new object of class 'CHeader Text'.

createJumpTypeFromString

public JumpType createJumpTypeFromString(EDataType eDataType,
                                         java.lang.String initialValue)


convertJumpTypeToString

public java.lang.String convertJumpTypeToString(EDataType eDataType,
                                                java.lang.Object instanceValue)


getCmodelPackage

public CmodelPackage getCmodelPackage()

Specified by:
getCmodelPackage in interface CmodelFactory
Returns:
the package supported by this factory.

getPackage

public static CmodelPackage getPackage()
Deprecated.