| 1 | |
package org.kuali.core.db.torque; |
| 2 | |
|
| 3 | |
import java.sql.Connection; |
| 4 | |
import java.sql.DatabaseMetaData; |
| 5 | |
import java.util.Set; |
| 6 | |
|
| 7 | |
import org.apache.torque.engine.platform.Platform; |
| 8 | |
import org.apache.xerces.dom.DocumentImpl; |
| 9 | |
|
| 10 | 0 | public class TableHelper { |
| 11 | |
Set<String> tableNames; |
| 12 | |
Connection connection; |
| 13 | |
Platform platform; |
| 14 | |
DatabaseMetaData dbMetaData; |
| 15 | |
int rowCount; |
| 16 | |
DocumentImpl document; |
| 17 | |
|
| 18 | |
public Connection getConnection() { |
| 19 | 0 | return connection; |
| 20 | |
} |
| 21 | |
|
| 22 | |
public void setConnection(Connection connection) { |
| 23 | 0 | this.connection = connection; |
| 24 | 0 | } |
| 25 | |
|
| 26 | |
public Platform getPlatform() { |
| 27 | 0 | return platform; |
| 28 | |
} |
| 29 | |
|
| 30 | |
public void setPlatform(Platform platform) { |
| 31 | 0 | this.platform = platform; |
| 32 | 0 | } |
| 33 | |
|
| 34 | |
public DatabaseMetaData getDbMetaData() { |
| 35 | 0 | return dbMetaData; |
| 36 | |
} |
| 37 | |
|
| 38 | |
public void setDbMetaData(DatabaseMetaData dbMetaData) { |
| 39 | 0 | this.dbMetaData = dbMetaData; |
| 40 | 0 | } |
| 41 | |
|
| 42 | |
public int getRowCount() { |
| 43 | 0 | return rowCount; |
| 44 | |
} |
| 45 | |
|
| 46 | |
public void setRowCount(int rowCount) { |
| 47 | 0 | this.rowCount = rowCount; |
| 48 | 0 | } |
| 49 | |
|
| 50 | |
public DocumentImpl getDocument() { |
| 51 | 0 | return document; |
| 52 | |
} |
| 53 | |
|
| 54 | |
public void setDocument(DocumentImpl document) { |
| 55 | 0 | this.document = document; |
| 56 | 0 | } |
| 57 | |
|
| 58 | |
public Set<String> getTableNames() { |
| 59 | 0 | return tableNames; |
| 60 | |
} |
| 61 | |
|
| 62 | |
public void setTableNames(Set<String> tableNames) { |
| 63 | 0 | this.tableNames = tableNames; |
| 64 | 0 | } |
| 65 | |
} |