1 package com.mockobjects.sql; 2 3 import com.mockobjects.MockObject; 4 5 import java.sql.*; 6 import java.util.*; 7 8 14 public class MockArray extends MockObject implements Array{ 15 private String myBaseTypeName; 16 private Object myArray; 17 18 public void setupBaseTypeName(String aBaseTypName){ 19 myBaseTypeName = aBaseTypName; 20 } 21 22 public String getBaseTypeName(){ 23 return myBaseTypeName; 24 } 25 26 public int getBaseType(){ 27 notImplemented(); 28 return 0; 29 } 30 31 public Object getArray(long l, int n) throws SQLException{ 32 notImplemented(); 33 return null; 34 } 35 36 public Object getArray(Map map)throws SQLException{ 37 notImplemented(); 38 return null; 39 } 40 41 public Object getArray(long l, int n, Map map) throws SQLException{ 42 notImplemented(); 43 return null; 44 } 45 46 public void setupArray(Object anArray){ 47 myArray = anArray; 48 } 49 50 public Object getArray() throws SQLException{ 51 return myArray; 52 } 53 54 public ResultSet getResultSet() throws SQLException{ 55 notImplemented(); 56 return null; 57 } 58 59 public ResultSet getResultSet(long l, int n ) throws SQLException{ 60 notImplemented(); 61 return null; 62 } 63 64 public ResultSet getResultSet(Map map) throws SQLException{ 65 notImplemented(); 66 return null; 67 } 68 69 public ResultSet getResultSet(long l, int n ,Map map) throws SQLException{ 70 notImplemented(); 71 return null; 72 } 73 } 74 | Popular Tags |