1 package net.jaekl.squelch.db;
3 import java.sql.ResultSetMetaData;
4 import java.sql.SQLException;
6 import net.jaekl.squelch.sql.Column;
8 public class ResultSetMetaDataMock implements ResultSetMetaData {
9 private Column[] m_cols;
11 public ResultSetMetaDataMock()
13 m_cols = new Column[0];
17 public boolean isWrapperFor(Class<?> arg0) throws SQLException {
18 throw new UnsupportedOperationException("Not yet implemented.");
23 public <T> T unwrap(Class<T> arg0) throws SQLException {
24 throw new UnsupportedOperationException("Not yet implemented.");
29 public String getCatalogName(int arg0) throws SQLException {
30 throw new UnsupportedOperationException("Not yet implemented.");
35 public String getColumnClassName(int arg0) throws SQLException {
36 throw new UnsupportedOperationException("Not yet implemented.");
41 public int getColumnCount() throws SQLException {
46 public int getColumnDisplaySize(int arg0) throws SQLException {
47 throw new UnsupportedOperationException("Not yet implemented.");
52 public String getColumnLabel(int arg0) throws SQLException {
53 throw new UnsupportedOperationException("Not yet implemented.");
58 public String getColumnName(int arg0) throws SQLException {
59 throw new UnsupportedOperationException("Not yet implemented.");
64 public int getColumnType(int arg0) throws SQLException {
65 throw new UnsupportedOperationException("Not yet implemented.");
70 public String getColumnTypeName(int arg0) throws SQLException {
71 throw new UnsupportedOperationException("Not yet implemented.");
76 public int getPrecision(int arg0) throws SQLException {
77 throw new UnsupportedOperationException("Not yet implemented.");
82 public int getScale(int arg0) throws SQLException {
83 throw new UnsupportedOperationException("Not yet implemented.");
88 public String getSchemaName(int arg0) throws SQLException {
89 throw new UnsupportedOperationException("Not yet implemented.");
94 public String getTableName(int arg0) throws SQLException {
95 throw new UnsupportedOperationException("Not yet implemented.");
100 public boolean isAutoIncrement(int arg0) throws SQLException {
101 throw new UnsupportedOperationException("Not yet implemented.");
106 public boolean isCaseSensitive(int arg0) throws SQLException {
107 throw new UnsupportedOperationException("Not yet implemented.");
112 public boolean isCurrency(int arg0) throws SQLException {
113 throw new UnsupportedOperationException("Not yet implemented.");
118 public boolean isDefinitelyWritable(int arg0) throws SQLException {
119 throw new UnsupportedOperationException("Not yet implemented.");
124 public int isNullable(int arg0) throws SQLException {
125 throw new UnsupportedOperationException("Not yet implemented.");
130 public boolean isReadOnly(int arg0) throws SQLException {
131 throw new UnsupportedOperationException("Not yet implemented.");
136 public boolean isSearchable(int arg0) throws SQLException {
137 throw new UnsupportedOperationException("Not yet implemented.");
142 public boolean isSigned(int arg0) throws SQLException {
143 throw new UnsupportedOperationException("Not yet implemented.");
148 public boolean isWritable(int arg0) throws SQLException {
149 throw new UnsupportedOperationException("Not yet implemented.");