tablecolumns.java

来自「一个用JAVA语言实现的SQL编译器。能够迅速实现对SQL语言的解析。」· Java 代码 · 共 61 行

JAVA
61
字号


public class TableColumns {
	private String column;

	private String type;

	private String domain;

	private int isEmpty;// 0为空,1为非空

	public TableColumns() {
	}

	public TableColumns(String column, String type, String domain) {
		this.column = column;
		this.domain = domain;
		this.type = type;
		isEmpty=0;
	}

	public TableColumns(String column, String type, String domain, int isEmpty) {
		this.column = column;
		this.domain = domain;
		this.type = type;
		this.isEmpty = isEmpty;
	}

	public String getColumn() {
		return column;
	}

	public void setColumn(String column) {
		this.column = column;
	}

	public String getDomain() {
		return domain;
	}

	public void setDomain(String domain) {
		this.domain = domain;
	}

	public int getIsEmpty() {
		return isEmpty;
	}

	public void setIsEmpty(int isEmpty) {
		this.isEmpty = isEmpty;
	}

	public String getType() {
		return type;
	}

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

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?