增强字符串类,数值类POJO默认值设置调整
This commit is contained in:
@@ -16,7 +16,6 @@ package com.nis.domain.configuration;
|
||||
* @version V1.0
|
||||
*/
|
||||
public class HttpResHeadCfg extends ComplexkeywordCfg {
|
||||
public static final String tableName="http_res_head_cfg";
|
||||
/**
|
||||
* @Fields serialVersionUID:TODO(用一句话描述这个变量表示什么)
|
||||
*
|
||||
@@ -24,24 +23,17 @@ public class HttpResHeadCfg extends ComplexkeywordCfg {
|
||||
*/
|
||||
|
||||
private static final long serialVersionUID = 1306491838846197119L;
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see com.nis.domain.restful.BaseStringConfig#getExprType()
|
||||
* @see com.nis.domain.configuration.ComplexkeywordCfg#initDefaultValue()
|
||||
*/
|
||||
@Override
|
||||
public Integer getExprType() {
|
||||
if(this.exprType==null)
|
||||
return 0;
|
||||
else
|
||||
return this.exprType;
|
||||
}
|
||||
/* (non-Javadoc)
|
||||
* @see com.nis.domain.restful.BaseStringConfig#getMatchMethod()
|
||||
*/
|
||||
@Override
|
||||
public Integer getMatchMethod() {
|
||||
if(this.matchMethod==null)
|
||||
return 0;
|
||||
else
|
||||
return this.matchMethod;
|
||||
public void initDefaultValue() {
|
||||
// TODO Auto-generated method stub
|
||||
super.initDefaultValue();
|
||||
this.exprType=0;
|
||||
this.matchMethod=0;
|
||||
this.exprType=0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user