コード例 #1
0
 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);
   //		}
 }
コード例 #2
0
 public void setDatabase(IdmDatabase database) {
   this.database = database;
   this.survey = database.getSurvey();
   this.surveyUri = survey.getUri();
   this.schema = survey.getSchema();
 }