All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sagacity.quickvo.model.TableMeta Maven / Gradle / Ivy

The newest version!
/**
 * 
 */
package org.sagacity.quickvo.model;

import java.io.Serializable;
import java.util.List;

/**
 * @project sagacity-quickvo
 * @description 数据库表Meta信息
 * @author zhongxuchen
 * @version v1.0,Date:2009-2-24
 */
public class TableMeta implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 2472018681037095103L;

	/**
	 * 表名
	 */
	private String tableName;

	/**
	 * 别名
	 */
	private String tableAlias;

	/**
	 * 表名注释
	 */
	private String tableRemark;

	/**
	 * 数据库schema
	 */
	private String schema;

	/**
	 * 是视图还是table
	 */
	private String tableType;

	/**
	 * 字段信息
	 */
	private List colMetas;

	public String getTableAlias() {
		return tableAlias;
	}

	public void setTableAlias(String tableAlias) {
		this.tableAlias = tableAlias;
	}

	public String getTableType() {
		return tableType;
	}

	public void setTableType(String tableType) {
		this.tableType = tableType;
	}

	public List getColMetas() {
		return colMetas;
	}

	public void setColMetas(List colMetas) {
		this.colMetas = colMetas;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getTableRemark() {
		return tableRemark;
	}

	public void setTableRemark(String tableRemark) {
		if (tableRemark != null) {
			this.tableRemark = tableRemark.replaceAll("\"", "'");
		}
	}

	public String getSchema() {
		return schema;
	}

	public void setSchema(String schema) {
		this.schema = schema;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy