1 /*
2 *
3 *
4 */
5 package oscon2006.mock;
6
7 import java.sql.*;
8
9 public class MockColumn
10 {
11 private String columnName;
12 private int type;
13
14
15 public MockColumn(int type, String name)
16 {
17 this.columnName = name;
18 this.type = type;
19 }
20
21 public int getDisplaySize()
22 {
23 return 10;
24 }
25
26 public String getName()
27 {
28 return this.columnName;
29 }
30
31 public int getType()
32 {
33 return type;
34 }
35
36 public String toString()
37 {
38 return this.getName();
39 }
40 }