1 package com.quadcap.sql.types; 2 3 40 41 import java.io.Externalizable ; 42 import java.io.IOException ; 43 import java.io.ObjectInput ; 44 import java.io.ObjectOutput ; 45 46 import java.sql.ResultSet ; 47 import java.sql.SQLException ; 48 49 54 public interface Type { 55 65 public String getTypeName(); 66 67 public int getJDBCType(); 68 public String getJDBCClassName(); 69 70 public int getPrecision(); 71 public int getMaxPrecision(); 72 public int getScale(); 73 public int getMinScale(); 74 public int getMaxScale(); 75 76 public boolean isCaseSensitive(); 77 public boolean isCharType(); 78 public boolean isCurrency(); 79 public boolean isSigned(); 80 81 public int getDisplayWidth(); 82 public String getCreateParams(); 83 84 public Value convert(Value val) throws ValueException; 85 } 86 87 | Popular Tags |