/** *@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; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; /** * @ClassName: BaseEnhancedStringConfig.java * @Description: 基础增强字符串类配置 * @author (wx) * @date 2018年2月5日 下午5:42:52 * @version V1.0 */ public class ComplexkeywordCfg extends BaseCfg{ protected String tableName; /** * @Fields serialVersionUID:TODO(用一句话描述这个变量表示什么) * * @since 1.0.0 */ private static final long serialVersionUID = -1417089397345367232L; /** * 匹配区域 */ @Expose @SerializedName("district") protected String district ; /** * 关键字 */ @Expose @SerializedName("keywords") protected String keywords; /** * 表达式类型 */ @Expose @SerializedName("exprType") protected Integer exprType ; /** * 匹配方式 */ @Expose @SerializedName("matchMethod") protected Integer matchMethod ; /** * 是否hex二进制 */ @Expose @SerializedName("isHexbin") protected Integer isHexbin ; /** * 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; } /** * exprType * 继承此类的类会覆盖该方法写自己的缺省值 * @return exprType */ public Integer getExprType() { return this.exprType; } /** * @param exprType the exprType to set */ public void setExprType(Integer exprType) { this.exprType = exprType; } /** * matchMethod * 继承此类的类会覆盖该方法写自己的缺省值 * @return matchMethod */ public Integer getMatchMethod() { 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 public void initDefaultValue() { // TODO Auto-generated method stub super.initDefaultValue(); this.exprType=0; this.isHexbin = 0 ; this.matchMethod=3; } /** * tableName * @return tableName */ public String getTableName() { return tableName; } /** * @param tableName the tableName to set */ public void setTableName(String tableName) { this.tableName = tableName; } }