java - Purpose of @Min.List annotation -
looking @ @javax.validation.constraints.min
's documentation:
the annotated element must number value must higher or equal specified minimum.
and looking @ @min.list
see:
defines several {@link min} annotations on same element.
when useful define more 1 min annotation on same element?
// example: defining more 1 @min on same element. @min.list(@min(1), @min(2), @min(3)) private int someint;
what mean?
unfortunately can't add comment...but think can read explain java bean validation: how specify multiple validation constraints of same type different groups?
Comments
Post a Comment