⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fieldsmapping.java

📁 对jsp页面中有多个查询条件时
💻 JAVA
字号:
package org.storm.xwguan.parse;

public class FieldsMapping {

	// 字段类型 1<->int 2<->float 3<->double 4<->String

	private int type;

	// 字段是否为范围查询字段 true:为范围查询字段 false:一般查询字段

	private boolean isBound;

	// 若该字段为范围查询字段,判断该字段是否为范围查询的前一个字段
	// true:是
	// false:不是

	private boolean isFirst;

	// 该字段是否是模糊查询字段
	// true:是
	// false:不是

	private boolean isBlurry;

	// 表单名:和ActionForm中名字一样

	private String formName;

	// 数据库表中的字段名

	private String tableFieldName;

	public FieldsMapping(int type, boolean isBound, boolean isFirst,
			boolean isBlurry, String formName, String tableFieldName) {
		this.type = type;
		this.isBound = isBound;
		this.isFirst = isFirst;
		this.isBlurry = isBlurry;
		this.formName = formName;
		this.tableFieldName = tableFieldName;
	}

	public int getType() {
		return type;
	}

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

	public boolean isBound() {
		return isBound;
	}

	public void setBound(boolean isBound) {
		this.isBound = isBound;
	}

	public boolean isFirst() {
		return isFirst;
	}

	public void setFirst(boolean isFirst) {
		this.isFirst = isFirst;
	}

	public boolean isBlurry() {
		return isBlurry;
	}

	public void setBlurry(boolean isBlurry) {
		this.isBlurry = isBlurry;
	}

	public String getFormName() {
		return formName;
	}

	public void setFormName(String formName) {
		this.formName = formName;
	}

	public String getTableFieldName() {
		return tableFieldName;
	}

	public void setTableFieldName(String tableFieldName) {
		this.tableFieldName = tableFieldName;
	}
}

⌨️ 快捷键说明

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