public DbSchema getSimpleSchema() throws WaarpDatabaseSqlException, IOException {
		if (type == null) {
			logger.warn("Structure non prête");
			return null;
		}
		String schemaName = technicalDescription.getName();
		int pos = schemaName.lastIndexOf('.');
		if (pos > 0) {
			schemaName = schemaName.substring(0, pos);
		}
		DbSchema schema = new DbSchema(schemaName,
				technicalDescription.getName(), this);
		switch (type) {
			case CSVTYPE: {
				DbTable table = new DbTable(commonTableName+"_"+CSVNAME, CSVNAME, 0, type);
				loadDbTable(schema, table, simpleTypes);
				if (table.datafile == null) {
					table.datafile = this.refDataFile;
				}
				System.out.println("creation ok d'une table "+table.name+
						" avec "+table.nbFields()+" champs");
			}
				break;
			case MULTIPLETYPE: {
				for (int j = 0; j < multipleTypes.size(); j++) {
					List<ConstanceField> list = multipleTypes.get(j);
					DbTable table = new DbTable(commonTableName+"_"+TYPENAME+j, "multiple Rank "+j, j, type);
					loadDbTable(schema, table, list);
					if (table.datafile == null) {
						table.datafile = this.refDataFile;
					}
				}
				System.out.println("creation ok d'un schema "+schema.name+
						" avec "+schema.nbTables()+" tables");
			}
				break;
			case UNIQUETYPE: {
				DbTable table = new DbTable(commonTableName+"_"+FIXNAME, FIXNAME, 0, type);
				loadDbTable(schema, table, simpleTypes);
				if (table.datafile == null) {
					table.datafile = this.refDataFile;
				}
				System.out.println("creation ok d'une table "+table.name+
						" avec "+table.nbFields()+" champs");
			}
				break;
		}
		return schema;
	}