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

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -