@Documented @Constraint(validatedBy={}) @Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER}) @Retention(value=RUNTIME) public @interface Digits
检查要验证的字符串是否是有效的数字
public abstract int integer
public abstract String message
public abstract int fraction
public abstract ValidateProfile profile
Copyright © 2016 huihoo. All rights reserved.