View Javadoc
1   package com.randomnoun.common.db.to;
2   
3   import org.apache.log4j.Logger;
4   
5   /** Holds type information for a table column. 
6    */
7   public class MysqlTableColumnTO extends TableColumnTO {
8   	
9   	Logger logger = Logger.getLogger(MysqlTableColumnTO.class);
10  
11  	private String columnType;
12  	
13  	public MysqlTableColumnTO(TableTO table, String name, long columnId, boolean isPrimaryKey, String dataType,
14  		long dataTypeLength, long dataTypePrecision, long dataScale, 
15  		boolean nullable, String defaultValue, String comments) 
16  	{
17  		super(table, name, columnId, isPrimaryKey, dataType, dataTypeLength, dataTypePrecision, dataScale,
18  				nullable, defaultValue, comments);
19  	}
20  
21  	public String getColumnType() {
22  		return columnType;
23  	}
24  
25  	public void setColumnType(String columnType) {
26  		this.columnType = columnType;
27  	}
28  	
29  	
30  }