package eu.dnetlib.dlms.jdbc;

/**
 * Class to describe result set columns.
 * 
 * @author lexis
 */
public class ColumnInfo {

	/** Type of the data contained by this column. */
	private DorotyObjectEnum type;
	/** Column name. */
	private String name;

	public ColumnInfo() {
	}

	public ColumnInfo(final String name, final DorotyObjectEnum type) {
		this.name = name;
		this.type = type;
	}

	public DorotyObjectEnum getType() {
		return this.type;
	}

	public void setType(final DorotyObjectEnum type) {
		this.type = type;
	}

	public String getName() {
		return this.name;
	}

	public void setName(final String name) {
		this.name = name;
	}

}
