private void createDataTables() throws DatabaseException { RelationalTransformer rt = database.getRelationalTransformer(); List<Transformation> xforms = rt.getTransformations(); for (Transformation xform : xforms) { createDataTable(xform); } // List<EntityDefinition> rootDefns = schema.getRootEntityDefinitions(); // for (EntityDefinition defn : rootDefns) { // createDataTable(defn); // } }
public void setDatabase(IdmDatabase database) { this.database = database; this.survey = database.getSurvey(); this.surveyUri = survey.getUri(); this.schema = survey.getSchema(); }