org.hibernate.validator
Annotation Type NotEmpty
@Documented
@ValidatorClass(value=NotEmptyValidator.class)
@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface NotEmpty
Check that a String is not empty (not null and length > 0)
or that a Collection (or array) is not empty (not null and length > 0)
- Author:
- Emmanuel Bernard
|
Optional Element Summary |
java.lang.String |
message
|
message
public abstract java.lang.String message
- Default:
- "{validator.notEmpty}"
Copyright © 2007-2009. All Rights Reserved.