public class Property extends Object
| Constructor and Description |
|---|
Property() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParam(String name,
Object value)
添加错误信息的字符串插值参数
|
void |
addParentProperty(Property property)
添加父级校验注解属性
|
String |
getFormatted()
获取字符串插值后的验证信息
|
public void addParentProperty(Property property)
property - 属性public void addParam(String name, Object value)
name - 插值名称value - 插值public String getFormatted()
Copyright © 2019. All rights reserved.