@Constraint(validatedBy=NonNegativeIntValidator.class) @Documented @Retention(value=RUNTIME) @Target(value={METHOD,FIELD}) public @interface NonNegativeInt
null are considered valid to follow the JSR-303 convention:
ex: @Min, @Max, @Email, @SafeHtml, etc. .
IntCopyright © 2022 Atlassian. All rights reserved.