⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 resultsetproxy.java

📁 JdbcProxy 可以理解为 JDBC 代理
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
/*
 * This file is generated by nl.griffelservices.proxy.Generator.
 * Please do not modify this file manually.
 * All your changes will be deleted when this file is regenerated.
 */
package nl.griffelservices.proxy.jdbc;

import java.lang.reflect.Method;
import nl.griffelservices.proxy.Handler;

/** This class is a proxy implementation of java.sql.ResultSet */
public class ResultSetProxy extends JdbcProxy implements java.sql.ResultSet
{
  /**
   * Constructs a new ResultSetProxy object.
   * 
   * @param handler the proxy handler
   * @param proxyObject the proxy data
   */
  public ResultSetProxy(Handler handler, Object proxyObject)
  {
    super(handler, java.sql.ResultSet.class, proxyObject);
  }

  /** public abstract java.lang.Object java.sql.ResultSet.getObject(java.lang.String,java.util.Map) throws java.sql.SQLException */
  private static final Method m0 = getMethod(java.sql.ResultSet.class, "getObject", new Class[] {java.lang.String.class, java.util.Map.class});
  public java.lang.Object getObject(java.lang.String p0, java.util.Map p1) throws java.sql.SQLException
  {
    return (java.lang.Object)invoke(m0, new Object[] {p0, p1});
  }

  /** public abstract java.lang.Object java.sql.ResultSet.getObject(java.lang.String) throws java.sql.SQLException */
  private static final Method m1 = getMethod(java.sql.ResultSet.class, "getObject", new Class[] {java.lang.String.class});
  public java.lang.Object getObject(java.lang.String p0) throws java.sql.SQLException
  {
    return (java.lang.Object)invoke(m1, new Object[] {p0});
  }

  /** public abstract java.lang.Object java.sql.ResultSet.getObject(int) throws java.sql.SQLException */
  private static final Method m2 = getMethod(java.sql.ResultSet.class, "getObject", new Class[] {int.class});
  public java.lang.Object getObject(int p0) throws java.sql.SQLException
  {
    return (java.lang.Object)invoke(m2, new Object[] {new Integer(p0)});
  }

  /** public abstract java.lang.Object java.sql.ResultSet.getObject(int,java.util.Map) throws java.sql.SQLException */
  private static final Method m3 = getMethod(java.sql.ResultSet.class, "getObject", new Class[] {int.class, java.util.Map.class});
  public java.lang.Object getObject(int p0, java.util.Map p1) throws java.sql.SQLException
  {
    return (java.lang.Object)invoke(m3, new Object[] {new Integer(p0), p1});
  }

  /** public abstract boolean java.sql.ResultSet.getBoolean(int) throws java.sql.SQLException */
  private static final Method m4 = getMethod(java.sql.ResultSet.class, "getBoolean", new Class[] {int.class});
  public boolean getBoolean(int p0) throws java.sql.SQLException
  {
    return ((Boolean)invoke(m4, new Object[] {new Integer(p0)})).booleanValue();
  }

  /** public abstract boolean java.sql.ResultSet.getBoolean(java.lang.String) throws java.sql.SQLException */
  private static final Method m5 = getMethod(java.sql.ResultSet.class, "getBoolean", new Class[] {java.lang.String.class});
  public boolean getBoolean(java.lang.String p0) throws java.sql.SQLException
  {
    return ((Boolean)invoke(m5, new Object[] {p0})).booleanValue();
  }

  /** public abstract byte java.sql.ResultSet.getByte(int) throws java.sql.SQLException */
  private static final Method m6 = getMethod(java.sql.ResultSet.class, "getByte", new Class[] {int.class});
  public byte getByte(int p0) throws java.sql.SQLException
  {
    return ((Byte)invoke(m6, new Object[] {new Integer(p0)})).byteValue();
  }

  /** public abstract byte java.sql.ResultSet.getByte(java.lang.String) throws java.sql.SQLException */
  private static final Method m7 = getMethod(java.sql.ResultSet.class, "getByte", new Class[] {java.lang.String.class});
  public byte getByte(java.lang.String p0) throws java.sql.SQLException
  {
    return ((Byte)invoke(m7, new Object[] {p0})).byteValue();
  }

  /** public abstract short java.sql.ResultSet.getShort(java.lang.String) throws java.sql.SQLException */
  private static final Method m8 = getMethod(java.sql.ResultSet.class, "getShort", new Class[] {java.lang.String.class});
  public short getShort(java.lang.String p0) throws java.sql.SQLException
  {
    return ((Short)invoke(m8, new Object[] {p0})).shortValue();
  }

  /** public abstract short java.sql.ResultSet.getShort(int) throws java.sql.SQLException */
  private static final Method m9 = getMethod(java.sql.ResultSet.class, "getShort", new Class[] {int.class});
  public short getShort(int p0) throws java.sql.SQLException
  {
    return ((Short)invoke(m9, new Object[] {new Integer(p0)})).shortValue();
  }

  /** public abstract int java.sql.ResultSet.getInt(int) throws java.sql.SQLException */
  private static final Method m10 = getMethod(java.sql.ResultSet.class, "getInt", new Class[] {int.class});
  public int getInt(int p0) throws java.sql.SQLException
  {
    return ((Integer)invoke(m10, new Object[] {new Integer(p0)})).intValue();
  }

  /** public abstract int java.sql.ResultSet.getInt(java.lang.String) throws java.sql.SQLException */
  private static final Method m11 = getMethod(java.sql.ResultSet.class, "getInt", new Class[] {java.lang.String.class});
  public int getInt(java.lang.String p0) throws java.sql.SQLException
  {
    return ((Integer)invoke(m11, new Object[] {p0})).intValue();
  }

  /** public abstract long java.sql.ResultSet.getLong(int) throws java.sql.SQLException */
  private static final Method m12 = getMethod(java.sql.ResultSet.class, "getLong", new Class[] {int.class});
  public long getLong(int p0) throws java.sql.SQLException
  {
    return ((Long)invoke(m12, new Object[] {new Integer(p0)})).longValue();
  }

  /** public abstract long java.sql.ResultSet.getLong(java.lang.String) throws java.sql.SQLException */
  private static final Method m13 = getMethod(java.sql.ResultSet.class, "getLong", new Class[] {java.lang.String.class});
  public long getLong(java.lang.String p0) throws java.sql.SQLException
  {
    return ((Long)invoke(m13, new Object[] {p0})).longValue();
  }

  /** public abstract float java.sql.ResultSet.getFloat(int) throws java.sql.SQLException */
  private static final Method m14 = getMethod(java.sql.ResultSet.class, "getFloat", new Class[] {int.class});
  public float getFloat(int p0) throws java.sql.SQLException
  {
    return ((Float)invoke(m14, new Object[] {new Integer(p0)})).floatValue();
  }

  /** public abstract float java.sql.ResultSet.getFloat(java.lang.String) throws java.sql.SQLException */
  private static final Method m15 = getMethod(java.sql.ResultSet.class, "getFloat", new Class[] {java.lang.String.class});
  public float getFloat(java.lang.String p0) throws java.sql.SQLException
  {
    return ((Float)invoke(m15, new Object[] {p0})).floatValue();
  }

  /** public abstract double java.sql.ResultSet.getDouble(int) throws java.sql.SQLException */
  private static final Method m16 = getMethod(java.sql.ResultSet.class, "getDouble", new Class[] {int.class});
  public double getDouble(int p0) throws java.sql.SQLException
  {
    return ((Double)invoke(m16, new Object[] {new Integer(p0)})).doubleValue();
  }

  /** public abstract double java.sql.ResultSet.getDouble(java.lang.String) throws java.sql.SQLException */
  private static final Method m17 = getMethod(java.sql.ResultSet.class, "getDouble", new Class[] {java.lang.String.class});
  public double getDouble(java.lang.String p0) throws java.sql.SQLException
  {
    return ((Double)invoke(m17, new Object[] {p0})).doubleValue();
  }

  /** public abstract byte[] java.sql.ResultSet.getBytes(java.lang.String) throws java.sql.SQLException */
  private static final Method m18 = getMethod(java.sql.ResultSet.class, "getBytes", new Class[] {java.lang.String.class});
  public byte[] getBytes(java.lang.String p0) throws java.sql.SQLException
  {
    return (byte[])invoke(m18, new Object[] {p0});
  }

  /** public abstract byte[] java.sql.ResultSet.getBytes(int) throws java.sql.SQLException */
  private static final Method m19 = getMethod(java.sql.ResultSet.class, "getBytes", new Class[] {int.class});
  public byte[] getBytes(int p0) throws java.sql.SQLException
  {
    return (byte[])invoke(m19, new Object[] {new Integer(p0)});
  }

  /** public abstract java.sql.Array java.sql.ResultSet.getArray(int) throws java.sql.SQLException */
  private static final Method m20 = getMethod(java.sql.ResultSet.class, "getArray", new Class[] {int.class});
  public java.sql.Array getArray(int p0) throws java.sql.SQLException
  {
    return (java.sql.Array)invoke(m20, new Object[] {new Integer(p0)});
  }

  /** public abstract java.sql.Array java.sql.ResultSet.getArray(java.lang.String) throws java.sql.SQLException */
  private static final Method m21 = getMethod(java.sql.ResultSet.class, "getArray", new Class[] {java.lang.String.class});
  public java.sql.Array getArray(java.lang.String p0) throws java.sql.SQLException
  {
    return (java.sql.Array)invoke(m21, new Object[] {p0});
  }

  /** public abstract java.net.URL java.sql.ResultSet.getURL(java.lang.String) throws java.sql.SQLException */
  private static final Method m22 = getMethod(java.sql.ResultSet.class, "getURL", new Class[] {java.lang.String.class});
  public java.net.URL getURL(java.lang.String p0) throws java.sql.SQLException
  {
    return (java.net.URL)invoke(m22, new Object[] {p0});
  }

  /** public abstract java.net.URL java.sql.ResultSet.getURL(int) throws java.sql.SQLException */
  private static final Method m23 = getMethod(java.sql.ResultSet.class, "getURL", new Class[] {int.class});
  public java.net.URL getURL(int p0) throws java.sql.SQLException
  {
    return (java.net.URL)invoke(m23, new Object[] {new Integer(p0)});
  }

  /** public abstract boolean java.sql.ResultSet.next() throws java.sql.SQLException */
  private static final Method m24 = getMethod(java.sql.ResultSet.class, "next", new Class[] {});
  public boolean next() throws java.sql.SQLException
  {
    return ((Boolean)invoke(m24, new Object[] {})).booleanValue();
  }

  /** public abstract int java.sql.ResultSet.getType() throws java.sql.SQLException */
  private static final Method m25 = getMethod(java.sql.ResultSet.class, "getType", new Class[] {});
  public int getType() throws java.sql.SQLException
  {
    return ((Integer)invoke(m25, new Object[] {})).intValue();
  }

  /** public abstract boolean java.sql.ResultSet.previous() throws java.sql.SQLException */
  private static final Method m26 = getMethod(java.sql.ResultSet.class, "previous", new Class[] {});
  public boolean previous() throws java.sql.SQLException
  {
    return ((Boolean)invoke(m26, new Object[] {})).booleanValue();
  }

  /** public abstract void java.sql.ResultSet.close() throws java.sql.SQLException */
  private static final Method m27 = getMethod(java.sql.ResultSet.class, "close", new Class[] {});
  public void close() throws java.sql.SQLException
  {
    invoke(m27, new Object[] {});
  }

  /** public abstract java.sql.Ref java.sql.ResultSet.getRef(java.lang.String) throws java.sql.SQLException */
  private static final Method m28 = getMethod(java.sql.ResultSet.class, "getRef", new Class[] {java.lang.String.class});
  public java.sql.Ref getRef(java.lang.String p0) throws java.sql.SQLException
  {
    return (java.sql.Ref)invoke(m28, new Object[] {p0});
  }

  /** public abstract java.sql.Ref java.sql.ResultSet.getRef(int) throws java.sql.SQLException */
  private static final Method m29 = getMethod(java.sql.ResultSet.class, "getRef", new Class[] {int.class});
  public java.sql.Ref getRef(int p0) throws java.sql.SQLException
  {
    return (java.sql.Ref)invoke(m29, new Object[] {new Integer(p0)});
  }

  /** public abstract java.sql.Date java.sql.ResultSet.getDate(int) throws java.sql.SQLException */
  private static final Method m30 = getMethod(java.sql.ResultSet.class, "getDate", new Class[] {int.class});
  public java.sql.Date getDate(int p0) throws java.sql.SQLException
  {
    return (java.sql.Date)invoke(m30, new Object[] {new Integer(p0)});
  }

  /** public abstract java.sql.Date java.sql.ResultSet.getDate(int,java.util.Calendar) throws java.sql.SQLException */
  private static final Method m31 = getMethod(java.sql.ResultSet.class, "getDate", new Class[] {int.class, java.util.Calendar.class});
  public java.sql.Date getDate(int p0, java.util.Calendar p1) throws java.sql.SQLException
  {
    return (java.sql.Date)invoke(m31, new Object[] {new Integer(p0), p1});
  }

  /** public abstract java.sql.Date java.sql.ResultSet.getDate(java.lang.String,java.util.Calendar) throws java.sql.SQLException */
  private static final Method m32 = getMethod(java.sql.ResultSet.class, "getDate", new Class[] {java.lang.String.class, java.util.Calendar.class});

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -