增强字符串类,数值类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,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;
}
}