com.mockrunner.mock.jdbc
Class MockArray
java.lang.Object
com.mockrunner.mock.jdbc.MockArray
- All Implemented Interfaces:
- java.sql.Array, java.lang.Cloneable
- public class MockArray
- extends java.lang.Object
- implements java.sql.Array, java.lang.Cloneable
Mock implementation of Array
.
Constructor Summary |
MockArray(java.lang.Object array)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MockArray
public MockArray(java.lang.Object array)
getBaseType
public int getBaseType()
throws java.sql.SQLException
- Specified by:
getBaseType
in interface java.sql.Array
- Throws:
java.sql.SQLException
getBaseTypeName
public java.lang.String getBaseTypeName()
throws java.sql.SQLException
- Specified by:
getBaseTypeName
in interface java.sql.Array
- Throws:
java.sql.SQLException
getArray
public java.lang.Object getArray()
throws java.sql.SQLException
- Specified by:
getArray
in interface java.sql.Array
- Throws:
java.sql.SQLException
getArray
public java.lang.Object getArray(java.util.Map map)
throws java.sql.SQLException
- Specified by:
getArray
in interface java.sql.Array
- Throws:
java.sql.SQLException
getArray
public java.lang.Object getArray(long index,
int count)
throws java.sql.SQLException
- Specified by:
getArray
in interface java.sql.Array
- Throws:
java.sql.SQLException
getArray
public java.lang.Object getArray(long index,
int count,
java.util.Map map)
throws java.sql.SQLException
- Specified by:
getArray
in interface java.sql.Array
- Throws:
java.sql.SQLException
getResultSet
public java.sql.ResultSet getResultSet()
throws java.sql.SQLException
- Specified by:
getResultSet
in interface java.sql.Array
- Throws:
java.sql.SQLException
getResultSet
public java.sql.ResultSet getResultSet(long index,
int count)
throws java.sql.SQLException
- Specified by:
getResultSet
in interface java.sql.Array
- Throws:
java.sql.SQLException
getResultSet
public java.sql.ResultSet getResultSet(long index,
int count,
java.util.Map map)
throws java.sql.SQLException
- Specified by:
getResultSet
in interface java.sql.Array
- Throws:
java.sql.SQLException
getResultSet
public java.sql.ResultSet getResultSet(java.util.Map map)
throws java.sql.SQLException
- Specified by:
getResultSet
in interface java.sql.Array
- Throws:
java.sql.SQLException
toString
public java.lang.String toString()
clone
public java.lang.Object clone()