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

Examples of com.arconsis.android.datarobot.builder.schema.data.Schema


    this.messager = messager;
  }

  @Override
  public Schema read() {
    Schema schema = new Schema(persistence.dbName(), persistence.dbVersion(), updateHookClassName, createHookClassName);
    for (Element element : entities) {
      TypeElement entity = element.accept(new TypeResolvingVisitor(), null);
      TableReader tableReader = new TableReader(entity, entityNames, messager);
      Table read = tableReader.read();
      if (read != null) {
        schema.addTable(read);
      }
    }
    return schema;
  }
View Full Code Here


    this.messager = messager;
  }

  @Override
  public Schema read() {
    Schema schema = new Schema(persistence.dbName(), persistence.dbVersion(), updateHookClassName);
    for (Element element : entities) {
      TypeElement entity = element.accept(new TypeResolvingVisitor(), null);
      TableReader tableReader = new TableReader(entity, entityNames, messager);
      Table read = tableReader.read();
      if (read != null) {
        schema.addTable(read);
      }
    }
    return schema;
  }
View Full Code Here

TOP

Related Classes of com.arconsis.android.datarobot.builder.schema.data.Schema

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.