Package com.arconsis.android.datarobot.builder.schema.reader

Examples of com.arconsis.android.datarobot.builder.schema.reader.SchemaReader


    return typeElement.getQualifiedName().toString();
  }

  private void generateDbSchema(final String packageName, final Set<? extends Element> entityAnnotated, final Persistence persistence,
                  String updateHookName, final String createHookName) {
    SchemaReader schemaReader = new SchemaReader(persistence, updateHookName, createHookName, entityAnnotated, messager);
    SchemaWriter schemaWriter = new SchemaWriter(packageName, SchemaConstants.DB, schemaReader.read());

    JavaFileWriter javaFileWriter = new JavaFileWriter(packageName, SchemaConstants.DB, processingEnv);
    javaFileWriter.write(schemaWriter.write());
  }
View Full Code Here


    return typeElement.getQualifiedName().toString();
  }

  private void generateDbSchema(final String packageName, final Set<? extends Element> entityAnnotated, final Persistence persistence,
      final String updateHookName) {
    SchemaReader schemaReader = new SchemaReader(persistence, updateHookName, entityAnnotated, messager);
    SchemaWriter schemaWriter = new SchemaWriter(packageName, SchemaConstants.DB, schemaReader.read());

    JavaFileWriter javaFileWriter = new JavaFileWriter(packageName, SchemaConstants.DB, processingEnv);
    javaFileWriter.write(schemaWriter.write());
  }
View Full Code Here

TOP

Related Classes of com.arconsis.android.datarobot.builder.schema.reader.SchemaReader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.