|
|||||||||||||||||||
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
MockBaseResultSetMetaData.java | - | 0% | 0% | 0% |
|
1 |
/*
|
|
2 |
* Joey and its relative products are published under the terms
|
|
3 |
* of the Apache Software License.
|
|
4 |
*/
|
|
5 |
/*
|
|
6 |
* Created on 2003/12/11
|
|
7 |
*/
|
|
8 |
package org.asyrinx.brownie.jdbc.mockbase;
|
|
9 |
|
|
10 |
import java.sql.ResultSetMetaData;
|
|
11 |
import java.sql.SQLException;
|
|
12 |
|
|
13 |
/**
|
|
14 |
* @author akima
|
|
15 |
*/
|
|
16 |
public class MockBaseResultSetMetaData implements ResultSetMetaData { |
|
17 |
|
|
18 |
/**
|
|
19 |
*
|
|
20 |
*/
|
|
21 | 0 |
public MockBaseResultSetMetaData() {
|
22 | 0 |
super();
|
23 |
} |
|
24 |
|
|
25 |
/**
|
|
26 |
* @see java.sql.ResultSetMetaData#getColumnCount()
|
|
27 |
*/
|
|
28 | 0 |
public int getColumnCount() throws SQLException { |
29 | 0 |
return 0;
|
30 |
} |
|
31 |
|
|
32 |
/**
|
|
33 |
* @see java.sql.ResultSetMetaData#isAutoIncrement(int)
|
|
34 |
*/
|
|
35 | 0 |
public boolean isAutoIncrement(int column) throws SQLException { |
36 | 0 |
return false; |
37 |
} |
|
38 |
|
|
39 |
/**
|
|
40 |
* @see java.sql.ResultSetMetaData#isCaseSensitive(int)
|
|
41 |
*/
|
|
42 | 0 |
public boolean isCaseSensitive(int column) throws SQLException { |
43 | 0 |
return false; |
44 |
} |
|
45 |
|
|
46 |
/**
|
|
47 |
* @see java.sql.ResultSetMetaData#isSearchable(int)
|
|
48 |
*/
|
|
49 | 0 |
public boolean isSearchable(int column) throws SQLException { |
50 | 0 |
return false; |
51 |
} |
|
52 |
|
|
53 |
/**
|
|
54 |
* @see java.sql.ResultSetMetaData#isCurrency(int)
|
|
55 |
*/
|
|
56 | 0 |
public boolean isCurrency(int column) throws SQLException { |
57 | 0 |
return false; |
58 |
} |
|
59 |
|
|
60 |
/**
|
|
61 |
* @see java.sql.ResultSetMetaData#isNullable(int)
|
|
62 |
*/
|
|
63 | 0 |
public int isNullable(int column) throws SQLException { |
64 | 0 |
return 0;
|
65 |
} |
|
66 |
|
|
67 |
/**
|
|
68 |
* @see java.sql.ResultSetMetaData#isSigned(int)
|
|
69 |
*/
|
|
70 | 0 |
public boolean isSigned(int column) throws SQLException { |
71 | 0 |
return false; |
72 |
} |
|
73 |
|
|
74 |
/**
|
|
75 |
* @see java.sql.ResultSetMetaData#getColumnDisplaySize(int)
|
|
76 |
*/
|
|
77 | 0 |
public int getColumnDisplaySize(int column) throws SQLException { |
78 | 0 |
return 0;
|
79 |
} |
|
80 |
|
|
81 |
/**
|
|
82 |
* @see java.sql.ResultSetMetaData#getColumnLabel(int)
|
|
83 |
*/
|
|
84 | 0 |
public String getColumnLabel(int column) throws SQLException { |
85 | 0 |
return null; |
86 |
} |
|
87 |
|
|
88 |
/**
|
|
89 |
* @see java.sql.ResultSetMetaData#getColumnName(int)
|
|
90 |
*/
|
|
91 | 0 |
public String getColumnName(int column) throws SQLException { |
92 | 0 |
return null; |
93 |
} |
|
94 |
|
|
95 |
/**
|
|
96 |
* @see java.sql.ResultSetMetaData#getSchemaName(int)
|
|
97 |
*/
|
|
98 | 0 |
public String getSchemaName(int column) throws SQLException { |
99 | 0 |
return null; |
100 |
} |
|
101 |
|
|
102 |
/**
|
|
103 |
* @see java.sql.ResultSetMetaData#getPrecision(int)
|
|
104 |
*/
|
|
105 | 0 |
public int getPrecision(int column) throws SQLException { |
106 | 0 |
return 0;
|
107 |
} |
|
108 |
|
|
109 |
/**
|
|
110 |
* @see java.sql.ResultSetMetaData#getScale(int)
|
|
111 |
*/
|
|
112 | 0 |
public int getScale(int column) throws SQLException { |
113 | 0 |
return 0;
|
114 |
} |
|
115 |
|
|
116 |
/**
|
|
117 |
* @see java.sql.ResultSetMetaData#getTableName(int)
|
|
118 |
*/
|
|
119 | 0 |
public String getTableName(int column) throws SQLException { |
120 | 0 |
return null; |
121 |
} |
|
122 |
|
|
123 |
/**
|
|
124 |
* @see java.sql.ResultSetMetaData#getCatalogName(int)
|
|
125 |
*/
|
|
126 | 0 |
public String getCatalogName(int column) throws SQLException { |
127 | 0 |
return null; |
128 |
} |
|
129 |
|
|
130 |
/**
|
|
131 |
* @see java.sql.ResultSetMetaData#getColumnType(int)
|
|
132 |
*/
|
|
133 | 0 |
public int getColumnType(int column) throws SQLException { |
134 | 0 |
return 0;
|
135 |
} |
|
136 |
|
|
137 |
/**
|
|
138 |
* @see java.sql.ResultSetMetaData#getColumnTypeName(int)
|
|
139 |
*/
|
|
140 | 0 |
public String getColumnTypeName(int column) throws SQLException { |
141 | 0 |
return null; |
142 |
} |
|
143 |
|
|
144 |
/**
|
|
145 |
* @see java.sql.ResultSetMetaData#isReadOnly(int)
|
|
146 |
*/
|
|
147 | 0 |
public boolean isReadOnly(int column) throws SQLException { |
148 | 0 |
return false; |
149 |
} |
|
150 |
|
|
151 |
/**
|
|
152 |
* @see java.sql.ResultSetMetaData#isWritable(int)
|
|
153 |
*/
|
|
154 | 0 |
public boolean isWritable(int column) throws SQLException { |
155 | 0 |
return false; |
156 |
} |
|
157 |
|
|
158 |
/**
|
|
159 |
* @see java.sql.ResultSetMetaData#isDefinitelyWritable(int)
|
|
160 |
*/
|
|
161 | 0 |
public boolean isDefinitelyWritable(int column) throws SQLException { |
162 | 0 |
return false; |
163 |
} |
|
164 |
|
|
165 |
/**
|
|
166 |
* @see java.sql.ResultSetMetaData#getColumnClassName(int)
|
|
167 |
*/
|
|
168 | 0 |
public String getColumnClassName(int column) throws SQLException { |
169 | 0 |
return null; |
170 |
} |
|
171 |
|
|
172 |
} |
|