•@NotNull validates that the annotated property value is not null.
•
•@Size validates that the annotated property value has a size between the attributes
min and max; can be applied to String, Collection, Map, and array properties.
•
•@Min validates that the annotated property has a value no smaller than the value
attribute.
•
•@Max validates that the annotated property has a value no larger than the value
attribute.
•
•@Email validates that the annotated property is a valid email address.
•
•@NotEmpty validates that the property is not null or empty; can be applied to String,
Collection, Map or Array values.
•
•@NotBlank can be applied only to text values and validates that the property is not
null or whitespace.