Class EmftvmFactoryImpl

java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.EModelElementImpl
org.eclipse.emf.ecore.impl.EFactoryImpl
org.eclipse.m2m.atl.emftvm.impl.EmftvmFactoryImpl
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, org.eclipse.emf.ecore.resource.impl.BinaryResourceImpl.DataConverter.Factory, EmftvmFactory

public class EmftvmFactoryImpl extends org.eclipse.emf.ecore.impl.EFactoryImpl implements EmftvmFactory
An implementation of the model Factory.
  • Field Details

    • defaultModelFactory

      protected final ModelFactory defaultModelFactory
  • Constructor Details

    • EmftvmFactoryImpl

      public EmftvmFactoryImpl()
      Creates an instance of the factory.
  • Method Details

    • init

      public static EmftvmFactory init()
      Creates the default factory implementation.
      Returns:
      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 Object createFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
      Specified by:
      createFromString in interface org.eclipse.emf.ecore.EFactory
      Overrides:
      createFromString in class org.eclipse.emf.ecore.impl.EFactoryImpl
    • convertToString

      public String convertToString(org.eclipse.emf.ecore.EDataType eDataType, 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()
      Returns a new object of class 'Module'.
      Specified by:
      createModule in interface EmftvmFactory
      Returns:
      a new object of class 'Module'.
    • createModelDeclaration

      public ModelDeclaration createModelDeclaration()
      Returns a new object of class 'Model Declaration'.
      Specified by:
      createModelDeclaration in interface EmftvmFactory
      Returns:
      a new object of class 'Model Declaration'.
    • createField

      public Field createField()
      Returns a new object of class 'Field'.
      Specified by:
      createField in interface EmftvmFactory
      Returns:
      a new object of class 'Field'.
    • createOperation

      public Operation createOperation()
      Returns a new object of class 'Operation'.
      Specified by:
      createOperation in interface EmftvmFactory
      Returns:
      a new object of class 'Operation'.
    • createParameter

      public Parameter createParameter()
      Returns a new object of class 'Parameter'.
      Specified by:
      createParameter in interface EmftvmFactory
      Returns:
      a new object of class 'Parameter'.
    • createLineNumber

      public LineNumber createLineNumber()
      Returns a new object of class 'Line Number'.
      Specified by:
      createLineNumber in interface EmftvmFactory
      Returns:
      a new object of class 'Line Number'.
    • createLocalVariable

      public LocalVariable createLocalVariable()
      Returns a new object of class 'Local Variable'.
      Specified by:
      createLocalVariable in interface EmftvmFactory
      Returns:
      a new object of class 'Local Variable'.
    • createRule

      public Rule createRule()
      Returns a new object of class 'Rule'.
      Specified by:
      createRule in interface EmftvmFactory
      Returns:
      a new object of class 'Rule'.
    • createInputRuleElement

      public InputRuleElement createInputRuleElement()
      Returns a new object of class 'Input Rule Element'.
      Specified by:
      createInputRuleElement in interface EmftvmFactory
      Returns:
      a new object of class 'Input Rule Element'.
    • createOutputRuleElement

      public OutputRuleElement createOutputRuleElement()
      Returns a new object of class 'Output Rule Element'.
      Specified by:
      createOutputRuleElement in interface EmftvmFactory
      Returns:
      a new object of class 'Output Rule Element'.
    • createCodeBlock

      public CodeBlock createCodeBlock()
      Returns a new object of class 'Code Block'.
      Specified by:
      createCodeBlock in interface EmftvmFactory
      Returns:
      a new object of class 'Code Block'.
    • createPush

      public Push createPush()
      Returns a new object of class 'Push'.
      Specified by:
      createPush in interface EmftvmFactory
      Returns:
      a new object of class 'Push'.
    • createPusht

      public Pusht createPusht()
      Returns a new object of class 'Pusht'.
      Specified by:
      createPusht in interface EmftvmFactory
      Returns:
      a new object of class 'Pusht'.
    • createPushf

      public Pushf createPushf()
      Returns a new object of class 'Pushf'.
      Specified by:
      createPushf in interface EmftvmFactory
      Returns:
      a new object of class 'Pushf'.
    • createPop

      public Pop createPop()
      Returns a new object of class 'Pop'.
      Specified by:
      createPop in interface EmftvmFactory
      Returns:
      a new object of class 'Pop'.
    • createLoad

      public Load createLoad()
      Returns a new object of class 'Load'.
      Specified by:
      createLoad in interface EmftvmFactory
      Returns:
      a new object of class 'Load'.
    • createStore

      public Store createStore()
      Returns a new object of class 'Store'.
      Specified by:
      createStore in interface EmftvmFactory
      Returns:
      a new object of class 'Store'.
    • createSet

      public Set createSet()
      Returns a new object of class 'Set'.
      Specified by:
      createSet in interface EmftvmFactory
      Returns:
      a new object of class 'Set'.
    • createGet

      public Get createGet()
      Returns a new object of class 'Get'.
      Specified by:
      createGet in interface EmftvmFactory
      Returns:
      a new object of class 'Get'.
    • createGetTrans

      public GetTrans createGetTrans()
      Returns a new object of class 'Get Trans'.
      Specified by:
      createGetTrans in interface EmftvmFactory
      Returns:
      a new object of class 'Get Trans'.
    • createSetStatic

      public SetStatic createSetStatic()
      Returns a new object of class 'Set Static'.
      Specified by:
      createSetStatic in interface EmftvmFactory
      Returns:
      a new object of class 'Set Static'.
    • createGetStatic

      public GetStatic createGetStatic()
      Returns a new object of class 'Get Static'.
      Specified by:
      createGetStatic in interface EmftvmFactory
      Returns:
      a new object of class 'Get Static'.
    • createFindtype

      public Findtype createFindtype()
      Returns a new object of class 'Findtype'.
      Specified by:
      createFindtype in interface EmftvmFactory
      Returns:
      a new object of class 'Findtype'.
    • createFindtypeS

      public FindtypeS createFindtypeS()
      Returns a new object of class 'Findtype S'.
      Specified by:
      createFindtypeS in interface EmftvmFactory
      Returns:
      a new object of class 'Findtype S'.
    • createNew

      public New createNew()
      Returns a new object of class 'New'.
      Specified by:
      createNew in interface EmftvmFactory
      Returns:
      a new object of class 'New'.
    • createNewS

      public NewS createNewS()
      Returns a new object of class 'New S'.
      Specified by:
      createNewS in interface EmftvmFactory
      Returns:
      a new object of class 'New S'.
    • createDelete

      public Delete createDelete()
      Returns a new object of class 'Delete'.
      Specified by:
      createDelete in interface EmftvmFactory
      Returns:
      a new object of class 'Delete'.
    • createDup

      public Dup createDup()
      Returns a new object of class 'Dup'.
      Specified by:
      createDup in interface EmftvmFactory
      Returns:
      a new object of class 'Dup'.
    • createDupX1

      public DupX1 createDupX1()
      Returns a new object of class 'Dup X1'.
      Specified by:
      createDupX1 in interface EmftvmFactory
      Returns:
      a new object of class 'Dup X1'.
    • createSwap

      public Swap createSwap()
      Returns a new object of class 'Swap'.
      Specified by:
      createSwap in interface EmftvmFactory
      Returns:
      a new object of class 'Swap'.
    • createSwapX1

      public SwapX1 createSwapX1()
      Returns a new object of class 'Swap X1'.
      Specified by:
      createSwapX1 in interface EmftvmFactory
      Returns:
      a new object of class 'Swap X1'.
    • createIf

      public If createIf()
      Returns a new object of class 'If'.
      Specified by:
      createIf in interface EmftvmFactory
      Returns:
      a new object of class 'If'.
    • createIfn

      public Ifn createIfn()
      Returns a new object of class 'Ifn'.
      Specified by:
      createIfn in interface EmftvmFactory
      Returns:
      a new object of class 'Ifn'.
    • createGoto

      public Goto createGoto()
      Returns a new object of class 'Goto'.
      Specified by:
      createGoto in interface EmftvmFactory
      Returns:
      a new object of class 'Goto'.
    • createIterate

      public Iterate createIterate()
      Returns a new object of class 'Iterate'.
      Specified by:
      createIterate in interface EmftvmFactory
      Returns:
      a new object of class 'Iterate'.
    • createEnditerate

      public Enditerate createEnditerate()
      Returns a new object of class 'Enditerate'.
      Specified by:
      createEnditerate in interface EmftvmFactory
      Returns:
      a new object of class 'Enditerate'.
    • createInvoke

      public Invoke createInvoke()
      Returns a new object of class 'Invoke'.
      Specified by:
      createInvoke in interface EmftvmFactory
      Returns:
      a new object of class 'Invoke'.
    • createInvokeSuper

      public InvokeSuper createInvokeSuper()
      Returns a new object of class 'Invoke Super'.
      Specified by:
      createInvokeSuper in interface EmftvmFactory
      Returns:
      a new object of class 'Invoke Super'.
    • createInvokeStatic

      public InvokeStatic createInvokeStatic()
      Returns a new object of class 'Invoke Static'.
      Specified by:
      createInvokeStatic in interface EmftvmFactory
      Returns:
      a new object of class 'Invoke Static'.
    • createAllinst

      public Allinst createAllinst()
      Returns a new object of class 'Allinst'.
      Specified by:
      createAllinst in interface EmftvmFactory
      Returns:
      a new object of class 'Allinst'.
    • createAllinstIn

      public AllinstIn createAllinstIn()
      Returns a new object of class 'Allinst In'.
      Specified by:
      createAllinstIn in interface EmftvmFactory
      Returns:
      a new object of class 'Allinst In'.
    • createMatch

      public Match createMatch()
      Returns a new object of class 'Match'.
      Specified by:
      createMatch in interface EmftvmFactory
      Returns:
      a new object of class 'Match'.
    • createMatchS

      public MatchS createMatchS()
      Returns a new object of class 'Match S'.
      Specified by:
      createMatchS in interface EmftvmFactory
      Returns:
      a new object of class 'Match S'.
    • createAdd

      public Add createAdd()
      Returns a new object of class 'Add'.
      Specified by:
      createAdd in interface EmftvmFactory
      Returns:
      a new object of class 'Add'.
    • createRemove

      public Remove createRemove()
      Returns a new object of class 'Remove'.
      Specified by:
      createRemove in interface EmftvmFactory
      Returns:
      a new object of class 'Remove'.
    • createInsert

      public Insert createInsert()
      Returns a new object of class 'Insert'.
      Specified by:
      createInsert in interface EmftvmFactory
      Returns:
      a new object of class 'Insert'.
    • createGetSuper

      public GetSuper createGetSuper()
      Specified by:
      createGetSuper in interface EmftvmFactory
      Returns:
      a new object of class 'Get Super'.
    • createGetenv

      public Getenv createGetenv()
      Specified by:
      createGetenv in interface EmftvmFactory
      Returns:
      a new object of class 'Getenv'.
    • createReturn

      public Return createReturn()
      Returns a new object of class 'Return'.
      Specified by:
      createReturn in interface EmftvmFactory
      Returns:
      a new object of class 'Return'.
    • createGetcb

      public Getcb createGetcb()
      Returns a new object of class 'Getcb'.
      Specified by:
      createGetcb in interface EmftvmFactory
      Returns:
      a new object of class 'Getcb'.
    • createInvokeAllCbs

      public InvokeAllCbs createInvokeAllCbs()
      Returns a new object of class 'Invoke All Cbs'.
      Specified by:
      createInvokeAllCbs in interface EmftvmFactory
      Returns:
      a new object of class 'Invoke All Cbs'.
    • createInvokeCb

      public InvokeCb createInvokeCb()
      Returns a new object of class 'Invoke Cb'.
      Specified by:
      createInvokeCb in interface EmftvmFactory
      Returns:
      a new object of class 'Invoke Cb'.
    • createInvokeCbS

      public InvokeCbS createInvokeCbS()
      Returns a new object of class 'Invoke Cb S'.
      Specified by:
      createInvokeCbS in interface EmftvmFactory
      Returns:
      a new object of class 'Invoke Cb S'.
    • createModelDeclarationTagFromString

      public ModelDeclarationTag createModelDeclarationTagFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
    • convertModelDeclarationTagToString

      public String convertModelDeclarationTagToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
    • createNot

      public Not createNot()
      Returns a new object of class 'Not'.
      Specified by:
      createNot in interface EmftvmFactory
      Returns:
      a new object of class 'Not'.
    • createAnd

      public And createAnd()
      Returns a new object of class 'And'.
      Specified by:
      createAnd in interface EmftvmFactory
      Returns:
      a new object of class 'And'.
    • createOr

      public Or createOr()
      Returns a new object of class 'Or'.
      Specified by:
      createOr in interface EmftvmFactory
      Returns:
      a new object of class 'Or'.
    • createXor

      public Xor createXor()
      Returns a new object of class 'Xor'.
      Specified by:
      createXor in interface EmftvmFactory
      Returns:
      a new object of class 'Xor'.
    • createImplies

      public Implies createImplies()
      Returns a new object of class 'Implies'.
      Specified by:
      createImplies in interface EmftvmFactory
      Returns:
      a new object of class 'Implies'.
    • createIfte

      public Ifte createIfte()
      Returns a new object of class 'Ifte'.
      Specified by:
      createIfte in interface EmftvmFactory
      Returns:
      a new object of class 'Ifte'.
    • createIsnull

      public Isnull createIsnull()
      Returns a new object of class 'Isnull'.
      Specified by:
      createIsnull in interface EmftvmFactory
      Returns:
      a new object of class 'Isnull'.
    • createGetenvtype

      public Getenvtype createGetenvtype()
      Returns a new object of class 'Getenvtype'.
      Specified by:
      createGetenvtype in interface EmftvmFactory
      Returns:
      a new object of class 'Getenvtype'.
    • createFeatureTagFromString

      public FeatureTag createFeatureTagFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
    • convertFeatureTagToString

      public String convertFeatureTagToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
    • createExecEnv

      public ExecEnv createExecEnv()
      Returns a new object of class 'Exec Env'.
      Specified by:
      createExecEnv in interface EmftvmFactory
      Returns:
      a new object of class 'Exec Env'.
    • createModel

      public Model createModel()
      Returns a new object of class 'Model'.
      Specified by:
      createModel in interface EmftvmFactory
      Returns:
      a new object of class 'Model'.
    • createMetamodel

      public Metamodel createMetamodel()
      Returns a new object of class 'Metamodel'.
      Specified by:
      createMetamodel in interface EmftvmFactory
      Returns:
      a new object of class 'Metamodel'.
    • createOpcodeFromString

      public Opcode createOpcodeFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
    • convertOpcodeToString

      public String convertOpcodeToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
    • createRuleModeFromString

      public RuleMode createRuleModeFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
    • convertRuleModeToString

      public String convertRuleModeToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
    • createConstantTagFromString

      public ConstantTag createConstantTagFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
    • convertConstantTagToString

      public String convertConstantTagToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
    • createStackFrameFromString

      public StackFrame createStackFrameFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
    • convertStackFrameToString

      public String convertStackFrameToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
    • createMethodFromString

      public Method createMethodFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
    • convertMethodToString

      public String convertMethodToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
    • createTimingDataFromString

      public TimingData createTimingDataFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
    • convertTimingDataToString

      public String convertTimingDataToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
    • createLazyCollectionFromString

      public LazyCollection<?> createLazyCollectionFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
    • convertLazyCollectionToString

      public String convertLazyCollectionToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
    • createLazyBagFromString

      public LazyBag<?> createLazyBagFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
    • convertLazyBagToString

      public String convertLazyBagToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
    • createLazyListFromString

      public LazyList<?> createLazyListFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
    • convertLazyListToString

      public String convertLazyListToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
    • createLazyOrderedSetFromString

      public LazyOrderedSet<?> createLazyOrderedSetFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
    • convertLazyOrderedSetToString

      public String convertLazyOrderedSetToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
    • createLazySetFromString

      public LazySet<?> createLazySetFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
    • convertLazySetToString

      public String convertLazySetToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
    • createEJavaObjectArrayFromString

      public Object[] createEJavaObjectArrayFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
    • convertEJavaObjectArrayToString

      public String convertEJavaObjectArrayToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
    • createEObjectArrayFromString

      public org.eclipse.emf.ecore.EObject[] createEObjectArrayFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
    • convertEObjectArrayToString

      public String convertEObjectArrayToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
    • createEBooleanArrayFromString

      public boolean[] createEBooleanArrayFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
    • convertEBooleanArrayToString

      public String convertEBooleanArrayToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
    • createEJavaSetFromString

      public Set<?> createEJavaSetFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
    • convertEJavaSetToString

      public String convertEJavaSetToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
    • createEJavaIterableFromString

      public Iterable<?> createEJavaIterableFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
    • convertEJavaIterableToString

      public String convertEJavaIterableToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
    • createClassNotFoundExceptionFromString

      public ClassNotFoundException createClassNotFoundExceptionFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
    • convertClassNotFoundExceptionToString

      public String convertClassNotFoundExceptionToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
    • createModuleResolverFromString

      public ModuleResolver createModuleResolverFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
    • convertModuleResolverToString

      public String convertModuleResolverToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
    • createEnumLiteralFromString

      public EnumLiteral createEnumLiteralFromString(org.eclipse.emf.ecore.EDataType eDataType, String initialValue)
    • convertEnumLiteralToString

      public String convertEnumLiteralToString(org.eclipse.emf.ecore.EDataType eDataType, Object instanceValue)
    • getEmftvmPackage

      public EmftvmPackage getEmftvmPackage()
      Returns the package supported by this factory.
      Specified by:
      getEmftvmPackage in interface EmftvmFactory
      Returns:
      the package supported by this factory.
    • getPackage

      @Deprecated public static EmftvmPackage getPackage()
      Deprecated.
    • createInstruction

      public Instruction createInstruction(Opcode opcode)
      Creates a new Instruction instance for the given
      opcode
      .
      Specified by:
      createInstruction in interface EmftvmFactory
      Parameters:
      opcode - the instruction opcode.
      Returns:
      a new Instruction instance for the given
      opcode
      .
    • createModel

      public Model createModel(org.eclipse.emf.ecore.resource.Resource resource)
      Creates a new Model for the given Resource, and sets the Resource.
      Specified by:
      createModel in interface EmftvmFactory
      Parameters:
      resource - the Resource to wrap
      Returns:
      a new Model
    • createMetamodel

      public Metamodel createMetamodel(org.eclipse.emf.ecore.resource.Resource resource)
      Creates a new Metamodel for the given Resource, and sets the Resource.
      Specified by:
      createMetamodel in interface EmftvmFactory
      Parameters:
      resource - the Resource to wrap
      Returns:
      a new Metamodel
    • getModelFactoryRegistry

      protected TypeMap<Class<?>,ModelFactory> getModelFactoryRegistry()
      Returns:
      the modelFactoryRegistry