configure default values from outside of the jar
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.sql / src / net / sourceforge / phpdt / sql / sql / TableRow.java
1 package net.sourceforge.phpdt.sql.sql;
2
3 import net.sourceforge.phpdt.sql.view.bookmark.BookmarkNode;
4
5 public class TableRow {
6         private String[] columnNames;
7         private String[] tableData;
8         private BookmarkNode bookmark;
9         String table;
10         
11         public TableRow(BookmarkNode bookmark, String table, String[] columnNames, String[] tableData) {
12                 this.bookmark = bookmark;
13                 this.table = table;
14                 this.tableData = tableData;
15                 this.columnNames = columnNames;
16         }
17         
18         public int getColumnCount() {
19                 return columnNames.length;
20         }
21         
22         public String[] getColumnNames() {
23                 return columnNames;
24         }
25
26         public String getTable() {
27                 return table;
28         }
29
30         public BookmarkNode getBookmarkNode() {
31                         return bookmark;
32                 }
33
34         public void setColumnNames(String[] columnNames) {
35                 this.columnNames = columnNames;
36         }
37
38         public String[] getTableData() {
39                 return tableData;
40         }
41
42         public void setTableData(String[] tableData) {
43                 this.tableData = tableData;
44         }
45
46 }