Class MockArray

  • All Implemented Interfaces:
    Verifiable, java.sql.Array

    public class MockArray
    extends MockObject
    implements java.sql.Array
    MockArray.java
    Version:
    $Revision: 1.1 $
    Author:
    ggalli@e-tree.com
    • Constructor Detail

      • MockArray

        public MockArray()
    • Method Detail

      • setupBaseTypeName

        public void setupBaseTypeName​(java.lang.String aBaseTypName)
      • getBaseTypeName

        public java.lang.String getBaseTypeName()
        Specified by:
        getBaseTypeName in interface java.sql.Array
      • getBaseType

        public int getBaseType()
        Specified by:
        getBaseType in interface java.sql.Array
      • getArray

        public java.lang.Object getArray​(long l,
                                         int n)
                                  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 l,
                                         int n,
                                         java.util.Map map)
                                  throws java.sql.SQLException
        Specified by:
        getArray in interface java.sql.Array
        Throws:
        java.sql.SQLException
      • setupArray

        public void setupArray​(java.lang.Object anArray)
      • getArray

        public java.lang.Object getArray()
                                  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 l,
                                               int n)
                                        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
      • getResultSet

        public java.sql.ResultSet getResultSet​(long l,
                                               int n,
                                               java.util.Map map)
                                        throws java.sql.SQLException
        Specified by:
        getResultSet in interface java.sql.Array
        Throws:
        java.sql.SQLException