Package net.croz.nrich.validation.api.constraint
package net.croz.nrich.validation.api.constraint
-
ClassDescriptionAdds support for disabling constraints.Defines several
DisableConstraints
annotations on the same element.The annotated element must be in the specified list of values.Defines severalInList
annotations on the same element.The annotated element must be before end of the dayDefines severalLastTimestampInDay.List
annotations on the same element.The annotated element size in bytes must be less than specified maximum.Defines severalMaxSizeInBytes.List
annotations on the same element.The annotated element must be after specified minimum dateDefines severalMinDate.List
annotations on the same element.Annotated element property must not be null when condition is satisfied.Defines severalNotNullWhen
annotations on the same element.Annotated element property must not be null when condition is satisfied.Defines severalNullWhen
annotations on the same element.The annotated element is validated against a provided SpEL expressionDefines severalSpelExpression
annotations on the same element.Annotated element (allowed types are MultipartFile and FilePart) must match specified content type list, allowed extension list and/or allowed regex.Defines severalValidFile
annotations on the same element.Annotated element (allowed types are MultipartFile and FilePart) must match property values resolved for content type list, allowed extension list and/or allowed regex.Defines severalValidFileResolvable
annotations on the same element.Annotated element must be a valida OIB (Personal Identification Number).Defines severalValidOib
annotations on the same element.Annotated element from property must be less than (or equal to if inclusive is true) to property.Defines severalValidRange
annotations on the same element.At least one group of annotated element must contain all properties that are not null.Defines severalValidSearchProperties
annotations on the same element.Holder for a list of property names.