增强字符串类,数值类POJO默认值设置调整

This commit is contained in:
wangxin
2018-02-28 10:55:39 +08:00
parent 2103d3abf0
commit 553be71415
16 changed files with 227 additions and 334 deletions

View File

@@ -16,7 +16,7 @@ package com.nis.domain.configuration;
* @version V1.0
*/
public class ComplexkeywordCfg extends BaseCfg<ComplexkeywordCfg>{
protected String tableName;
/**
* @Fields serialVersionUID:TODO用一句话描述这个变量表示什么
*
@@ -35,7 +35,7 @@ public class ComplexkeywordCfg extends BaseCfg<ComplexkeywordCfg>{
/**
* 编译id
*/
protected Integer compileId;
protected Long compileId;
/**
* 表达式类型
*/
@@ -81,13 +81,13 @@ public class ComplexkeywordCfg extends BaseCfg<ComplexkeywordCfg>{
* @return compileId
*/
public Integer getCompileId() {
public Long getCompileId() {
return compileId;
}
/**
* @param compileId the compileId to set
*/
public void setCompileId(Integer compileId) {
public void setCompileId(Long compileId) {
this.compileId = compileId;
}
/**
@@ -97,10 +97,7 @@ public class ComplexkeywordCfg extends BaseCfg<ComplexkeywordCfg>{
*/
public Integer getExprType() {
if(this.exprType==null)
return 0;
else
return this.exprType;
return this.exprType;
}
/**
* @param exprType the exprType to set
@@ -115,10 +112,7 @@ public class ComplexkeywordCfg extends BaseCfg<ComplexkeywordCfg>{
*/
public Integer getMatchMethod() {
if(this.matchMethod==null)
return 3;
else
return this.matchMethod;
return this.matchMethod;
}
/**
* @param matchMethod the matchMethod to set
@@ -147,7 +141,23 @@ public class ComplexkeywordCfg extends BaseCfg<ComplexkeywordCfg>{
protected 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;
}
}