Clover coverage report - brownies library - 1.0-beta-1 Coverage timestamp: 月 8 16 2004 17:14:42 GMT+09:00 FRAMES NO FRAMES |
file stats: | LOC: | 322 |  | Methods: | 38
| NCLOC: | 114 |  | Classes: | 1
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
MockBasePreparedStatement.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.io.InputStream;
11 |  |
     import java.io.Reader;
12 |  |
     import java.math.BigDecimal;
13 |  |
     import java.net.URL;
14 |  |
     import java.sql.Array;
15 |  |
     import java.sql.Blob;
16 |  |
     import java.sql.Clob;
17 |  |
     import java.sql.Date;
18 |  |
     import java.sql.ParameterMetaData;
19 |  |
     import java.sql.PreparedStatement;
20 |  |
     import java.sql.Ref;
21 |  |
     import java.sql.ResultSet;
22 |  |
     import java.sql.ResultSetMetaData;
23 |  |
     import java.sql.SQLException;
24 |  |
     import java.sql.Time;
25 |  |
     import java.sql.Timestamp;
26 |  |
     import java.util.Calendar;
27 |  |
28 |  |
     /**
29 |  |
      * @author akima
30 |  |
      */
31 |  |
     public class MockBasePreparedStatement extends MockBaseStatement implements
32 |  |
             PreparedStatement {
33 |  |
34 |  |
         /**
35 |  |
          *
36 |  |
          */
37 | 0 |
         public MockBasePreparedStatement() {
38 | 0 |
             super();
39 |  |
         }
40 |  |
41 |  |
         /**
42 |  |
          * @see java.sql.PreparedStatement#executeQuery()
43 |  |
          */
44 | 0 |
         public ResultSet executeQuery() throws SQLException {
45 | 0 |
             return null;
46 |  |
         }
47 |  |
48 |  |
         /**
49 |  |
          * @see java.sql.PreparedStatement#executeUpdate()
50 |  |
          */
51 | 0 |
         public int executeUpdate() throws SQLException {
52 | 0 |
             return 0;
53 |  |
         }
54 |  |
55 |  |
         /**
56 |  |
          * @see java.sql.PreparedStatement#setNull(int, int)
57 |  |
          */
58 | 0 |
         public void setNull(int parameterIndex, int sqlType) throws SQLException {
59 |  |
             //do nothing
60 |  |
         }
61 |  |
62 |  |
         /**
63 |  |
          * @see java.sql.PreparedStatement#setBoolean(int, boolean)
64 |  |
          */
65 | 0 |
         public void setBoolean(int parameterIndex, boolean x) throws SQLException {
66 |  |
             //do nothing
67 |  |
         }
68 |  |
69 |  |
         /**
70 |  |
          * @see java.sql.PreparedStatement#setByte(int, byte)
71 |  |
          */
72 | 0 |
         public void setByte(int parameterIndex, byte x) throws SQLException {
73 |  |
74 |  |
             //do nothing
75 |  |
         }
76 |  |
77 |  |
         /**
78 |  |
          * @see java.sql.PreparedStatement#setShort(int, short)
79 |  |
          */
80 | 0 |
         public void setShort(int parameterIndex, short x) throws SQLException {
81 |  |
             //do nothing
82 |  |
         }
83 |  |
84 |  |
         /**
85 |  |
          * @see java.sql.PreparedStatement#setInt(int, int)
86 |  |
          */
87 | 0 |
         public void setInt(int parameterIndex, int x) throws SQLException {
88 |  |
             //do nothing
89 |  |
         }
90 |  |
91 |  |
         /**
92 |  |
          * @see java.sql.PreparedStatement#setLong(int, long)
93 |  |
          */
94 | 0 |
         public void setLong(int parameterIndex, long x) throws SQLException {
95 |  |
             //do nothing
96 |  |
         }
97 |  |
98 |  |
         /**
99 |  |
          * @see java.sql.PreparedStatement#setFloat(int, float)
100 |  |
          */
101 | 0 |
         public void setFloat(int parameterIndex, float x) throws SQLException {
102 |  |
             //do nothing
103 |  |
         }
104 |  |
105 |  |
         /**
106 |  |
          * @see java.sql.PreparedStatement#setDouble(int, double)
107 |  |
          */
108 | 0 |
         public void setDouble(int parameterIndex, double x) throws SQLException {
109 |  |
             //do nothing
110 |  |
         }
111 |  |
112 |  |
         /**
113 |  |
          * @see java.sql.PreparedStatement#setBigDecimal(int, java.math.BigDecimal)
114 |  |
          */
115 | 0 |
         public void setBigDecimal(int parameterIndex, BigDecimal x)
116 |  |
                 throws SQLException {
117 |  |
             //do nothing
118 |  |
         }
119 |  |
120 |  |
         /**
121 |  |
          * @see java.sql.PreparedStatement#setString(int, java.lang.String)
122 |  |
          */
123 | 0 |
         public void setString(int parameterIndex, String x) throws SQLException {
124 |  |
             //do nothing
125 |  |
         }
126 |  |
127 |  |
         /**
128 |  |
          * @see java.sql.PreparedStatement#setBytes(int, byte[])
129 |  |
          */
130 | 0 |
         public void setBytes(int parameterIndex, byte[] x) throws SQLException {
131 |  |
             //do nothing
132 |  |
         }
133 |  |
134 |  |
         /**
135 |  |
          * @see java.sql.PreparedStatement#setDate(int, java.sql.Date)
136 |  |
          */
137 | 0 |
         public void setDate(int parameterIndex, Date x) throws SQLException {
138 |  |
             //do nothing
139 |  |
         }
140 |  |
141 |  |
         /**
142 |  |
          * @see java.sql.PreparedStatement#setTime(int, java.sql.Time)
143 |  |
          */
144 | 0 |
         public void setTime(int parameterIndex, Time x) throws SQLException {
145 |  |
             //do nothing
146 |  |
         }
147 |  |
148 |  |
         /**
149 |  |
          * @see java.sql.PreparedStatement#setTimestamp(int, java.sql.Timestamp)
150 |  |
          */
151 | 0 |
         public void setTimestamp(int parameterIndex, Timestamp x)
152 |  |
                 throws SQLException {
153 |  |
             //do nothing
154 |  |
         }
155 |  |
156 |  |
         /**
157 |  |
          * @see java.sql.PreparedStatement#setAsciiStream(int, java.io.InputStream,
158 |  |
          *      int)
159 |  |
          */
160 | 0 |
         public void setAsciiStream(int parameterIndex, InputStream x, int length)
161 |  |
                 throws SQLException {
162 |  |
             //do nothing
163 |  |
         }
164 |  |
165 |  |
         /**
166 |  |
          * @see java.sql.PreparedStatement#setUnicodeStream(int,
167 |  |
          *      java.io.InputStream, int)
168 |  |
          * @deprecated
169 |  |
          */
170 | 0 |
         public void setUnicodeStream(int parameterIndex, InputStream x, int length)
171 |  |
                 throws SQLException {
172 |  |
             //do nothing
173 |  |
         }
174 |  |
175 |  |
         /**
176 |  |
          * @see java.sql.PreparedStatement#setBinaryStream(int, java.io.InputStream,
177 |  |
          *      int)
178 |  |
          */
179 | 0 |
         public void setBinaryStream(int parameterIndex, InputStream x, int length)
180 |  |
                 throws SQLException {
181 |  |
             //do nothing
182 |  |
         }
183 |  |
184 |  |
         /**
185 |  |
          * @see java.sql.PreparedStatement#clearParameters()
186 |  |
          */
187 | 0 |
         public void clearParameters() throws SQLException {
188 |  |
             //do nothing
189 |  |
         }
190 |  |
191 |  |
         /**
192 |  |
          * @see java.sql.PreparedStatement#setObject(int, java.lang.Object, int,
193 |  |
          *      int)
194 |  |
          */
195 | 0 |
         public void setObject(int parameterIndex, Object x, int targetSqlType,
196 |  |
                 int scale) throws SQLException {
197 |  |
             //do nothing
198 |  |
         }
199 |  |
200 |  |
         /**
201 |  |
          * @see java.sql.PreparedStatement#setObject(int, java.lang.Object, int)
202 |  |
          */
203 | 0 |
         public void setObject(int parameterIndex, Object x, int targetSqlType)
204 |  |
                 throws SQLException {
205 |  |
             //do nothing
206 |  |
         }
207 |  |
208 |  |
         /**
209 |  |
          * @see java.sql.PreparedStatement#setObject(int, java.lang.Object)
210 |  |
          */
211 | 0 |
         public void setObject(int parameterIndex, Object x) throws SQLException {
212 |  |
             //do nothing
213 |  |
         }
214 |  |
215 |  |
         /**
216 |  |
          * @see java.sql.PreparedStatement#execute()
217 |  |
          */
218 | 0 |
         public boolean execute() throws SQLException {
219 | 0 |
             return false;
220 |  |
         }
221 |  |
222 |  |
         /**
223 |  |
          * @see java.sql.PreparedStatement#addBatch()
224 |  |
          */
225 | 0 |
         public void addBatch() throws SQLException {
226 |  |
             //do nothing
227 |  |
         }
228 |  |
229 |  |
         /**
230 |  |
          * @see java.sql.PreparedStatement#setCharacterStream(int, java.io.Reader,
231 |  |
          *      int)
232 |  |
          */
233 | 0 |
         public void setCharacterStream(int parameterIndex, Reader reader, int length)
234 |  |
                 throws SQLException {
235 |  |
             //do nothing
236 |  |
         }
237 |  |
238 |  |
         /**
239 |  |
          * @see java.sql.PreparedStatement#setRef(int, java.sql.Ref)
240 |  |
          */
241 | 0 |
         public void setRef(int i, Ref x) throws SQLException {
242 |  |
             //do nothing
243 |  |
         }
244 |  |
245 |  |
         /**
246 |  |
          * @see java.sql.PreparedStatement#setBlob(int, java.sql.Blob)
247 |  |
          */
248 | 0 |
         public void setBlob(int i, Blob x) throws SQLException {
249 |  |
             //do nothing
250 |  |
         }
251 |  |
252 |  |
         /**
253 |  |
          * @see java.sql.PreparedStatement#setClob(int, java.sql.Clob)
254 |  |
          */
255 | 0 |
         public void setClob(int i, Clob x) throws SQLException {
256 |  |
             //do nothing
257 |  |
         }
258 |  |
259 |  |
         /**
260 |  |
          * @see java.sql.PreparedStatement#setArray(int, java.sql.Array)
261 |  |
          */
262 | 0 |
         public void setArray(int i, Array x) throws SQLException {
263 |  |
             //do nothing
264 |  |
         }
265 |  |
266 |  |
         /**
267 |  |
          * @see java.sql.PreparedStatement#getMetaData()
268 |  |
          */
269 | 0 |
         public ResultSetMetaData getMetaData() throws SQLException {
270 | 0 |
             return null;
271 |  |
         }
272 |  |
273 |  |
         /**
274 |  |
          * @see java.sql.PreparedStatement#setDate(int, java.sql.Date,
275 |  |
          *      java.util.Calendar)
276 |  |
          */
277 | 0 |
         public void setDate(int parameterIndex, Date x, Calendar cal)
278 |  |
                 throws SQLException {
279 |  |
             //do nothing
280 |  |
         }
281 |  |
282 |  |
         /**
283 |  |
          * @see java.sql.PreparedStatement#setTime(int, java.sql.Time,
284 |  |
          *      java.util.Calendar)
285 |  |
          */
286 | 0 |
         public void setTime(int parameterIndex, Time x, Calendar cal)
287 |  |
                 throws SQLException {
288 |  |
             //do nothing
289 |  |
         }
290 |  |
291 |  |
         /**
292 |  |
          * @see java.sql.PreparedStatement#setTimestamp(int, java.sql.Timestamp,
293 |  |
          *      java.util.Calendar)
294 |  |
          */
295 | 0 |
         public void setTimestamp(int parameterIndex, Timestamp x, Calendar cal)
296 |  |
                 throws SQLException {
297 |  |
             //do nothing
298 |  |
         }
299 |  |
300 |  |
         /**
301 |  |
          * @see java.sql.PreparedStatement#setNull(int, int, java.lang.String)
302 |  |
          */
303 | 0 |
         public void setNull(int paramIndex, int sqlType, String typeName)
304 |  |
                 throws SQLException {
305 |  |
             //do nothing
306 |  |
         }
307 |  |
308 |  |
         /**
309 |  |
          * @see java.sql.PreparedStatement#setURL(int, java.net.URL)
310 |  |
          */
311 | 0 |
         public void setURL(int parameterIndex, URL x) throws SQLException {
312 |  |
             //do nothing
313 |  |
         }
314 |  |
315 |  |
         /**
316 |  |
          * @see java.sql.PreparedStatement#getParameterMetaData()
317 |  |
          */
318 | 0 |
         public ParameterMetaData getParameterMetaData() throws SQLException {
319 | 0 |
             return null;
320 |  |
         }
321 |  |
322 |  |
     }