This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
k18-ntcs-web-ntc/src/main/java/com/nis/domain/configuration/ComplexkeywordCfg.java

154 lines
2.9 KiB
Java
Raw Normal View History

2018-02-07 14:51:11 +08:00
/**
*@Title: BaseEnhancedStringConfig.java
*@Package com.nis.domain.restful
*@Description TODO
*@author dell
*@date 2018年2月5日 下午5:42:52
*@version 版本号
*/
package com.nis.domain.configuration;
/**
* @ClassName: BaseEnhancedStringConfig.java
* @Description: 基础增强字符串类配置
* @author (wx)
* @date 2018年2月5日 下午5:42:52
* @version V1.0
*/
public class ComplexkeywordCfg extends BaseCfg<ComplexkeywordCfg>{
2018-02-07 14:51:11 +08:00
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
* @since 1.0.0
*/
private static final long serialVersionUID = -1417089397345367232L;
/**
* 匹配区域
*/
protected String district ;
/**
* 关键字
*/
protected String keywords;
/**
* 编译id
*/
protected Integer compileId;
/**
* 表达式类型
*/
protected Integer exprType ;
/**
* 匹配方式
*/
protected Integer matchMethod ;
/**
* 是否hex二进制
*/
protected Integer isHexbin ;
2018-02-07 14:51:11 +08:00
/**
* district
* @return district
*/
public String getDistrict() {
return district;
}
/**
* @param district the district to set
*/
public void setDistrict(String district) {
this.district = district;
}
/**
* keywords
* @return keywords
*/
public String getKeywords() {
return keywords;
}
/**
* @param keywords the keywords to set
*/
public void setKeywords(String keywords) {
this.keywords = keywords;
}
/**
* compileId
* @return compileId
*/
public Integer getCompileId() {
return compileId;
}
/**
* @param compileId the compileId to set
*/
public void setCompileId(Integer compileId) {
this.compileId = compileId;
}
/**
* exprType
* 继承此类的类会覆盖该方法写自己的缺省值
* @return exprType
*/
public Integer getExprType() {
if(this.exprType==null)
return 0;
else
return this.exprType;
}
/**
* @param exprType the exprType to set
*/
public void setExprType(Integer exprType) {
this.exprType = exprType;
}
/**
* matchMethod
* 继承此类的类会覆盖该方法写自己的缺省值
* @return matchMethod
*/
public Integer getMatchMethod() {
if(this.matchMethod==null)
return 3;
else
return this.matchMethod;
}
/**
* @param matchMethod the matchMethod to set
*/
public void setMatchMethod(Integer matchMethod) {
this.matchMethod = matchMethod;
}
/**
* isHexbin
* @return isHexbin
*/
public Integer getIsHexbin() {
return isHexbin;
}
/**
* @param isHexbin the isHexbin to set
*/
public void setIsHexbin(Integer isHexbin) {
this.isHexbin = isHexbin;
}
/* (non-Javadoc)
* @see com.nis.domain.configuration.BaseCfg#initDefaultValue()
*/
@Override
protected void initDefaultValue() {
// TODO Auto-generated method stub
super.initDefaultValue();
this.isHexbin = 0 ;
2018-02-07 14:51:11 +08:00
}
}