②列表展示时采用遍历分类性质标签的方法展示,减少数据库查询时的压力 ③取掉了一些不需要展示的列 ④新增Maat转换的bean ⑤采用gson的方式对在bean上做注解做转换,禁止了htmlescape
139 lines
2.7 KiB
Java
139 lines
2.7 KiB
Java
/**
|
||
*@Title: BaseStringConfig.java
|
||
*@Package com.nis.domain.restful
|
||
*@Description TODO
|
||
*@author dell
|
||
*@date 2018年2月5日 下午5:26:02
|
||
*@version 版本号
|
||
*/
|
||
package com.nis.domain.configuration;
|
||
|
||
import com.google.gson.annotations.Expose;
|
||
import com.google.gson.annotations.SerializedName;
|
||
|
||
/**
|
||
* @ClassName: BaseStringConfig.java
|
||
* @Description: 基础字符串类配置
|
||
* @author (dell)
|
||
* @date 2018年2月5日 下午5:26:02
|
||
* @version V1.0
|
||
*/
|
||
public class BaseStringCfg extends BaseCfg<BaseStringCfg> {
|
||
|
||
/**
|
||
* @Fields serialVersionUID:TODO(用一句话描述这个变量表示什么)
|
||
*
|
||
* @since 1.0.0
|
||
*/
|
||
|
||
private static final long serialVersionUID = -2040598274024301785L;
|
||
/**
|
||
* 配置关键字
|
||
*/
|
||
@Expose
|
||
@SerializedName("keywords")
|
||
protected String cfgKeywords;
|
||
/**
|
||
* cfgKeywords
|
||
* @return cfgKeywords
|
||
*/
|
||
|
||
public String getCfgKeywords() {
|
||
return cfgKeywords;
|
||
}
|
||
/**
|
||
* @param cfgKeywords the cfgKeywords to set
|
||
*/
|
||
public void setCfgKeywords(String cfgKeywords) {
|
||
this.cfgKeywords = cfgKeywords;
|
||
}
|
||
/**
|
||
* 编译id
|
||
*/
|
||
protected Long compileId ;
|
||
/**
|
||
* 表达式类型
|
||
*/
|
||
@Expose
|
||
@SerializedName("exprType")
|
||
protected Integer exprType ;
|
||
/**
|
||
* 匹配方式
|
||
*/
|
||
@Expose
|
||
@SerializedName("matchMethod")
|
||
protected Integer matchMethod ;
|
||
/**
|
||
* 是否hex二进制
|
||
*/
|
||
@Expose
|
||
@SerializedName("isHexbin")
|
||
protected Integer isHexbin;
|
||
|
||
/**
|
||
* exprType
|
||
* @return exprType
|
||
*/
|
||
public Integer getExprType() {
|
||
return exprType;
|
||
}
|
||
/**
|
||
* @param exprType the exprType to set
|
||
*/
|
||
public void setExprType(Integer exprType) {
|
||
this.exprType = exprType;
|
||
}
|
||
/**
|
||
* matchMethod
|
||
* @return matchMethod
|
||
*/
|
||
|
||
public Integer getMatchMethod() {
|
||
return 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
|
||
public void initDefaultValue() {
|
||
// TODO Auto-generated method stub
|
||
super.initDefaultValue();
|
||
this.isHexbin = 0;
|
||
}
|
||
/**
|
||
* compile_id
|
||
* @return compile_id
|
||
*/
|
||
|
||
public Long getCompileId() {
|
||
return compileId;
|
||
}
|
||
/**
|
||
* @param compile_id the compile_id to set
|
||
*/
|
||
public void setCompileId(Long compileId) {
|
||
this.compileId = compileId;
|
||
}
|
||
|
||
}
|