1 58 59 61 package com.mockobjects.sql; 62 63 import java.sql.*; 64 import java.util.Calendar ; 65 import java.io.Reader ; 66 import java.io.InputStream ; 67 import java.math.BigDecimal ; 68 import java.net.URL ; 69 70 import com.mockobjects.*; 71 72 abstract class CommonMockCallableStatement 73 extends CommonMockPreparedStatement implements CallableStatement { 74 75 public void registerOutParameter(int parameterIndex, int sqlType) { 76 notImplemented(); 77 } 78 79 public void registerOutParameter(int parameterIndex, int sqlType, int scale) { 80 notImplemented(); 81 } 82 83 public void registerOutParameter(int parameterIndex, int sqlType, String typeName) { 84 notImplemented(); 85 } 86 87 public void registerOutParameter(String parameterName, int sqlType) { 88 notImplemented(); 89 } 90 91 public void registerOutParameter(String parameterName, int sqlType, int scale) { 92 notImplemented(); 93 } 94 95 public void registerOutParameter(String parameterName, int sqlType, String typeName) { 96 notImplemented(); 97 } 98 99 public boolean wasNull() { 100 notImplemented(); 101 return false; 102 } 103 104 public String getString(int parameterIndex) { 105 notImplemented(); 106 return null; 107 } 108 109 public String getString(String parameterName) { 110 notImplemented(); 111 return null; 112 } 113 114 public boolean getBoolean(int parameterIndex) { 115 notImplemented(); 116 return false; 117 } 118 119 public boolean getBoolean(String parameterName) { 120 notImplemented(); 121 return false; 122 } 123 124 public byte getByte(int parameterIndex) { 125 notImplemented(); 126 return 0; 127 } 128 129 public byte getByte(String parameterName) { 130 notImplemented(); 131 return 0; 132 } 133 134 public short getShort(int parameterIndex) { 135 notImplemented(); 136 return 0; 137 } 138 139 public short getShort(String parameterName) { 140 notImplemented(); 141 return 0; 142 } 143 144 public int getInt(int parameterIndex) { 145 notImplemented(); 146 return 0; 147 } 148 149 public int getInt(String parameterName) { 150 notImplemented(); 151 return 0; 152 } 153 154 public long getLong(int parameterIndex) { 155 notImplemented(); 156 return 0; 157 } 158 159 public long getLong(String parameterName) { 160 notImplemented(); 161 return 0; 162 } 163 164 public float getFloat(int parameterIndex) { 165 notImplemented(); 166 return 0; 167 } 168 169 public float getFloat(String parameterName) { 170 notImplemented(); 171 return 0; 172 } 173 174 public double getDouble(int parameterIndex) { 175 notImplemented(); 176 return 0; 177 } 178 179 public double getDouble(String parameterName) { 180 notImplemented(); 181 return 0; 182 } 183 184 public BigDecimal getBigDecimal(int parameterIndex) { 185 notImplemented(); 186 return null; 187 } 188 189 public BigDecimal getBigDecimal(String parameterName) { 190 notImplemented(); 191 return null; 192 } 193 194 public BigDecimal getBigDecimal(int parameterIndex, int scale) { 195 notImplemented(); 196 return null; 197 } 198 199 public byte[] getBytes(int parameterIndex) { 200 notImplemented(); 201 return null; 202 } 203 204 public byte[] getBytes(String parameterName) { 205 notImplemented(); 206 return null; 207 } 208 209 public Date getDate(int parameterIndex) { 210 notImplemented(); 211 return null; 212 } 213 214 public Date getDate(String parameterName) { 215 notImplemented(); 216 return null; 217 } 218 219 public Date getDate(int parameterIndex, Calendar cal) { 220 notImplemented(); 221 return null; 222 } 223 224 public Date getDate(String parameterName, Calendar cal) { 225 notImplemented(); 226 return null; 227 } 228 229 public Time getTime(int parameterIndex) { 230 notImplemented(); 231 return null; 232 } 233 234 public Time getTime(String parameterName) { 235 notImplemented(); 236 return null; 237 } 238 239 public Time getTime(int parameterIndex, Calendar cal) { 240 notImplemented(); 241 return null; 242 } 243 244 public Time getTime(String parameterName, Calendar cal) { 245 notImplemented(); 246 return null; 247 } 248 249 public Timestamp getTimestamp(int parameterIndex) { 250 notImplemented(); 251 return null; 252 } 253 254 public Timestamp getTimestamp(String parameterName) { 255 notImplemented(); 256 return null; 257 } 258 259 public Timestamp getTimestamp(int parameterIndex, Calendar cal) { 260 notImplemented(); 261 return null; 262 } 263 264 public Timestamp getTimestamp(String parameterName, Calendar cal) { 265 notImplemented(); 266 return null; 267 } 268 269 public Object getObject(int parameterIndex) { 270 notImplemented(); 271 return null; 272 } 273 274 public Object getObject(String parameterName) { 275 notImplemented(); 276 return null; 277 } 278 279 public Object getObject(int parameterIndex, java.util.Map map) { 280 notImplemented(); 281 return null; 282 } 283 284 public Object getObject(String parameterName, java.util.Map map) { 285 notImplemented(); 286 return null; 287 } 288 289 public Ref getRef(int parameterIndex) { 290 notImplemented(); 291 return null; 292 } 293 294 public Ref getRef(String parameterName) { 295 notImplemented(); 296 return null; 297 } 298 299 public Blob getBlob(int parameterIndex) { 300 notImplemented(); 301 return null; 302 } 303 304 public Blob getBlob(String parameterName) { 305 notImplemented(); 306 return null; 307 } 308 309 public Clob getClob(int parameterIndex) { 310 notImplemented(); 311 return null; 312 } 313 314 public Clob getClob(String parameterName) { 315 notImplemented(); 316 return null; 317 } 318 319 public Array getArray(int parameterIndex) { 320 notImplemented(); 321 return null; 322 } 323 324 public Array getArray(String parameterName) { 325 notImplemented(); 326 return null; 327 } 328 329 public URL getURL(int parameterIndex) { 330 notImplemented(); 331 return null; 332 } 333 334 public URL getURL(String parameterName) { 335 notImplemented(); 336 return null; 337 } 338 339 public void setAsciiStream(String parameterName, InputStream x, int length) { 340 notImplemented(); 341 } 342 343 public void setBigDecimal(String parameterName, BigDecimal x) { 344 notImplemented(); 345 } 346 347 public void setBinaryStream(String parameterName, InputStream x, int length) { 348 notImplemented(); 349 } 350 351 public void setBoolean(String parameterName, boolean x) { 352 notImplemented(); 353 } 354 355 public void setByte(String parameterName, byte x) { 356 notImplemented(); 357 } 358 359 public void setBytes(String parameterName, byte[] x) { 360 notImplemented(); 361 } 362 363 public void setCharacterStream(String parameterName, Reader reader, int length) { 364 notImplemented(); 365 } 366 367 public void setDate(String parameterName, Date x) { 368 notImplemented(); 369 } 370 371 public void setDate(String parameterName, Date x, Calendar cal) { 372 notImplemented(); 373 } 374 375 public void setDouble(String parameterName, double x) { 376 notImplemented(); 377 } 378 379 public void setFloat(String parameterName, float x) { 380 notImplemented(); 381 } 382 383 public void setInt(String parameterName, int x) { 384 notImplemented(); 385 } 386 387 public void setLong(String parameterName, long x) { 388 notImplemented(); 389 } 390 391 public void setNull(String parameterName, int sqlType) { 392 notImplemented(); 393 } 394 395 public void setNull(String parameterName, int sqlType, String typeName) { 396 notImplemented(); 397 } 398 399 public void setObject(String parameterName, Object x) { 400 notImplemented(); 401 } 402 403 public void setObject(String parameterName, Object x, int targetSqlType) { 404 notImplemented(); 405 } 406 407 public void setObject(String parameterName, Object x, int targetSqlType, int scale) { 408 notImplemented(); 409 } 410 411 public void setShort(String parameterName, short x) { 412 notImplemented(); 413 } 414 415 public void setString(String parameterName, String x) { 416 notImplemented(); 417 } 418 419 public void setTime(String parameterName, Time x) { 420 notImplemented(); 421 } 422 423 public void setTime(String parameterName, Time x, Calendar cal) { 424 notImplemented(); 425 } 426 427 public void setTimestamp(String parameterName, Timestamp x) { 428 notImplemented(); 429 } 430 431 public void setTimestamp(String parameterName, Timestamp x, Calendar cal) { 432 notImplemented(); 433 } 434 435 public void setURL(String parameterName, URL val) { 436 notImplemented(); 437 } 438 } | Popular Tags |