package org.seamframework.sql;

public class Column<X, T> {
	
	private final String name;
	private final Type<T> type;
	/*private Integer length;
	private Integer scale;
	private Integer precision;*/
	
	public Column(String name, Type<T> type) {
		this.name = name;
		this.type = type;
	}

	/*public Column(String name, Type<T> type, int length) {
		this(name, type);
		this.length = length;
	}

	public Column(String name, Type<T> type, int precision, int scale) {
		this(name, type);
		this.precision = precision;
		this.scale = scale;
	}*/

	@Override
	public String toString() {
		return "Column [name=" + name + "]";
	}

	public String getName() {
		return name;
	}

	public Type<T> getType() {
		return type;
	}

	/*public Integer getLength() {
		return length;
	}

	public Integer getScale() {
		return scale;
	}

	public Integer getPrecision() {
		return precision;
	}*/
	
}
