package org.openlca.simapro.csv.model.process;
import org.openlca.simapro.csv.CsvConfig;
import org.openlca.simapro.csv.CsvUtils;
import org.openlca.simapro.csv.model.IDataRow;
public class SystemDescriptionRow implements IDataRow {
private String name;
private String comment;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getComment() {
return comment;
}
public void setComment(String comment) {
this.comment = comment;
}
@Override
public void fill(String line, CsvConfig config) {
String[] columns = CsvUtils.split(line, config);
name = CsvUtils.get(columns, 0);
comment = CsvUtils.get(columns, 1);
}
@Override
public String toString() {
return "SystemDescriptionRow [name=" + name + "]";
}
}