1 33 34 35 package com.internetcds.jdbc.tds; 36 37 38 public class ParameterListItem implements Cloneable 39 { 40 public static final String cvsVersion = "$Id: ParameterListItem.java,v 1.1 2006/06/23 10:39:04 sinisa Exp $"; 41 42 43 45 46 49 public int maxLength = -1; 57 58 public String formalName = null; 60 61 public String formalType = null; 63 64 65 68 public int type = java.sql.Types.NULL; 70 71 public boolean isSet = false; 76 77 public Object value = null; 80 81 82 87 public void clear() 88 { 89 type = java.sql.Types.NULL; 90 maxLength = -1; 92 isSet = false; 93 value = null; 94 formalName = null; 95 formalType = null; 96 } 97 98 public Object clone() 99 { 100 try 101 { 102 return super.clone(); 103 } 104 catch(java.lang.CloneNotSupportedException e) 105 { 106 System.err.println("Serious problem. Couldn't clone a Cloneable object"); 107 System.exit(1); 108 return null; 109 } 110 } 111 112 } 113 | Popular Tags |