@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. .
Int
Copyright © 2022 Atlassian. All rights reserved.