Skip to content

Commit

Permalink
0005295: Changed CsvDataHier's relationType to a String
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-miller-jumpmind committed Jun 2, 2022
1 parent 154d2ca commit 20d9f80
Showing 1 changed file with 7 additions and 8 deletions.
Expand Up @@ -25,22 +25,21 @@

import org.jumpmind.db.model.Table;
import org.jumpmind.symmetric.io.data.CsvData;
import org.jumpmind.symmetric.io.data.transform.TableGroupHier.RelationType;

public class CsvDataHier {
private CsvData csvData;
private List<CsvDataHier> children;
private String catalog;
private String schema;
private String table;
private RelationType parentRelationType;
private String relationType;

public CsvDataHier(CsvData csvData, Table table, RelationType parentRelationType) {
public CsvDataHier(CsvData csvData, Table table, String relationType) {
this.csvData = csvData;
this.catalog = table.getCatalog();
this.schema = table.getSchema();
this.table = table.getName();
this.parentRelationType = parentRelationType;
this.relationType = relationType;
}

public CsvData getCsvData() {
Expand Down Expand Up @@ -90,11 +89,11 @@ public void setTable(String table) {
this.table = table;
}

public RelationType getParentRelationType() {
return parentRelationType;
public String getRelationType() {
return relationType;
}

public void setParentRelationType(RelationType parentRelationType) {
this.parentRelationType = parentRelationType;
public void setRelationType(String relationType) {
this.relationType = relationType;
}
}

0 comments on commit 20d9f80

Please sign in to comment.