home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 1999 April / DPPCPRO0499.ISO / April / Notes / 50b2wic.exe / DATA1.CAB / NotesProgramFilesJavaSupport / rt.jar / sun / jdbc / odbc / JdbcOdbcBoundCol.class (.txt) < prev    next >
Encoding:
Java Class File  |  1998-04-23  |  948 b   |  36 lines

  1. package sun.jdbc.odbc;
  2.  
  3. public class JdbcOdbcBoundCol extends JdbcOdbcObject {
  4.    protected int type = 9999;
  5.    protected int len = -1;
  6.    protected JdbcOdbcInputStream inputStream;
  7.  
  8.    public void setInputStream(JdbcOdbcInputStream var1) {
  9.       this.inputStream = var1;
  10.    }
  11.  
  12.    public void closeInputStream() {
  13.       if (this.inputStream != null) {
  14.          this.inputStream.invalidate();
  15.          this.inputStream = null;
  16.       }
  17.  
  18.    }
  19.  
  20.    public void setType(int var1) {
  21.       this.type = var1;
  22.    }
  23.  
  24.    public int getType() {
  25.       return this.type;
  26.    }
  27.  
  28.    public void setLength(int var1) {
  29.       this.len = var1;
  30.    }
  31.  
  32.    public int getLength() {
  33.       return this.len;
  34.    }
  35. }
  36.