build failure
[csql.git] / src / jdbc / FieldInfo.java
blobec40aa915b5af78b4d03304c1ef1327f97ab8697
1 /*
2 * To change this template, choose Tools | Templates
3 * and open the template in the editor.
4 */
6 package csql.jdbc;
8 import java.sql.Types;
10 /**
12 * @author bijaya
15 class FieldInfo {
17 private String tableName;
18 private String colname;
19 private int length;
20 private int csqlType;
21 private short colFlag;
22 private int colDecimals;
23 private int colPosition;
24 private boolean nullable;
26 FieldInfo(String tableName, String columnName, int csqltype, int length,boolean nullFlag)
28 this.tableName = tableName;
29 this.colname = columnName;
30 this.length = length;
31 this.csqlType = csqltype;
32 this.colFlag = 0;
33 this.colDecimals = 0;
34 this.nullable = nullFlag;
37 public int getColDecimals() {
38 return colDecimals;
41 public short getColFlag() {
42 return colFlag;
45 public int getColPosition() {
46 return colPosition;
49 public String getColname() {
50 return colname;
53 public int getLength() {
54 return length;
57 public String getTableName() {
58 return tableName;
61 public int getCsqlType() {
62 return csqlType;
65 public boolean isNullable() {
66 return nullable;