Class PersistenceGenerator

java.lang.Object
org.eclipse.xtext.generator.AbstractGenerator
org.openhab.core.model.persistence.generator.PersistenceGenerator
All Implemented Interfaces:
org.eclipse.xtext.generator.IGenerator2

public class PersistenceGenerator extends org.eclipse.xtext.generator.AbstractGenerator
Generates code from your model files on save. See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#code-generation
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    doGenerate(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.generator.IFileSystemAccess2 fsa, org.eclipse.xtext.generator.IGeneratorContext context)
     

    Methods inherited from class org.eclipse.xtext.generator.AbstractGenerator

    afterGenerate, beforeGenerate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PersistenceGenerator

      public PersistenceGenerator()
  • Method Details

    • doGenerate

      public void doGenerate(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.generator.IFileSystemAccess2 fsa, org.eclipse.xtext.generator.IGeneratorContext context)