org.apache.bval.constraints
Annotation Type NotEmpty


@Documented
@Constraint(validatedBy={NotEmptyValidatorForCollection.class,NotEmptyValidatorForMap.class,NotEmptyValidatorForString.class,NotEmptyValidator.class})
@Target(value={METHOD,FIELD,ANNOTATION_TYPE,PARAMETER})
@Retention(value=RUNTIME)
public @interface NotEmpty

 This class is NOT part of the bean_validation spec and might disappear
 as soon as a final version of the specification contains a similar functionality.
 


Optional Element Summary
 Class<?>[] groups
           
 String message
           
 Class<? extends Payload>[] payload
           
 

groups

public abstract Class<?>[] groups
Default:
{}

message

public abstract String message
Default:
"{org.apache.bval.constraints.NotEmpty.message}"

payload

public abstract Class<? extends Payload>[] payload
Default:
{}


Copyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.