Annotation Type NonEmptySingleFile
- 
@Documented @Constraint(validatedBy=NonEmptySingleFileValidator.class) @Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Retention(RUNTIME) @Repeatable(List.class) public @interface NonEmptySingleFile
Constraint validation that may be applied toSingleFile. Checks that a file is selected.- Since:
 - 7.0.0
 - Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Element Detail
- 
groups
Class<?>[] groups
- Returns:
 - Allows the specification of validation groups, to which this constraint belongs. When not specified, the
 constraint is placed in the 
Defaultgroup. 
- Default:
 - {}
 
 
 - 
 
- 
- 
message
String message
- Returns:
 - The default key for creating error messages in case the constraint is violated.
 
- Default:
 - "{de.xima.fc.workflow.validation.constraints.NonEmptySingleFile.message}"
 
 
 - 
 
- 
- 
payload
Class<? extends javax.validation.Payload>[] payload
- Returns:
 - The payload that can be used by clients of the Jakarta Bean Validation API to assign custom payload objects to a constraint.
 
- Default:
 - {}
 
 
 - 
 
 -