public abstract class BaseMinMaxExpression extends Object implements MatchExpression
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
code |
protected Comparable |
max |
protected Comparable |
min |
protected Map<String,Object> |
msg |
protected String |
normalMsg |
protected String |
param |
protected Boolean |
require |
| 构造器和说明 |
|---|
BaseMinMaxExpression() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected boolean |
checkRequire(String val,
CheckResult result) |
String |
getCode() |
Comparable |
getMax() |
Comparable |
getMin() |
Map<String,Object> |
getMsg() |
String |
getNormalMsg() |
String |
getParam() |
protected void |
init(Map<String,Object> data) |
void |
setCode(String code) |
void |
setIntegerMinMax(Map<String,Object> data) |
void |
setMax(Comparable max) |
void |
setMin(Comparable min) |
void |
setMsg(Map<String,Object> msg) |
void |
setNormalMsg(String normalMsg) |
void |
setParam(String param) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompile, matchprotected Comparable min
protected Comparable max
protected String param
protected String code
protected String normalMsg
protected Boolean require
protected boolean checkRequire(String val, CheckResult result)
public Comparable getMin()
public void setMin(Comparable min)
public Comparable getMax()
public void setMax(Comparable max)
public String getParam()
public void setParam(String param)
public String getCode()
public void setCode(String code)
public String getNormalMsg()
public void setNormalMsg(String normalMsg)
Copyright © 2020. All rights reserved.