📄 conditionsmapping.java
字号:
package org.storm.xwguan.parse;
public class ConditionsMapping {
// 条件类型 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;
private String name;
// 条件名:和数据库表中名字一样
private String tableFieldName;
// 条件值
private String value;
public ConditionsMapping(int type, boolean isBound, boolean isFirst,
boolean isBlurry, String name, String tableFieldName, String value) {
this.type = type;
this.name = name;
this.tableFieldName = tableFieldName;
this.value = value;
this.isBound = isBound;
this.isFirst = isFirst;
this.isBlurry = isBlurry;
}
public int getType() {
return type;
}
public void setType(int type) {
this.type = type;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
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 getTableFieldName() {
return tableFieldName;
}
public void setTableFieldName(String tableFieldName) {
this.tableFieldName = tableFieldName;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -