public static ColumnEditor typeStoreEditor(String typeTable, String idColumn, String nameColumn) { ColumnEditor editor = new ColumnEditor(); editor.store = type_store .replace(":type_table", typeTable) .replace(":type_id_column", idColumn) .replace(":type_name_column", nameColumn); return editor; }
public static ColumnEditor dictStoreEditor(String table, String column) { ColumnEditor editor = new ColumnEditor(); editor.store = dict_store.replace(":table", table).replace(":column", column); return editor; }