result set

This commit is contained in:
jackdaw@loafle.com 2017-04-25 16:03:17 +09:00
parent e68e35928f
commit 1c5b3d2d92

View File

@ -12,9 +12,17 @@ import java.util.Map;
public class OFResultSet {
private Item item;
private List<String []> rows;
private List<List<String>> rows;
private List<String> meta;
public List<List<String>> getRows() {
return rows;
}
public void setRows(List<List<String>> rows) {
this.rows = rows;
}
public Item getItem() {
return item;
}
@ -23,13 +31,6 @@ public class OFResultSet {
this.item = item;
}
public List<String[]> getRows() {
return rows;
}
public void setRows(List<String[]> rows) {
this.rows = rows;
}
public List<String> getMeta() {
return meta;
@ -49,7 +50,7 @@ public class OFResultSet {
this.meta = meta;
}
public void addRow(String [] row) {
public void addRow(List<String> row) {
rows.add(row);
}