Annotation Type MultiAttachmentSize
@Documented
@Constraint(validatedBy=MultiAttachmentSizeValidator.class)
@Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE})
@Retention(RUNTIME)
@Repeatable(List.class)
public @interface MultiAttachmentSize
Constraint validation that may be applied to 
MultiAttachment. Checks that the given range of attachments are
 selected.- Since:
 - 8.1.0
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceDefines severalMultiAttachmentSizeconstraints on the same element. - 
Optional Element Summary
Optional Elements - 
Field Summary
Fields 
- 
Field Details
- 
MESSAGE_MAX_ONLY
Message that should be used when you only set a maximum count.- See Also:
 
 - 
MESSAGE_MIN_ONLY
Message that should be used when you only set a minimum count.- See Also:
 
 
 - 
 - 
Element Details
- 
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:
 - {}
 
 - 
max
int max- Returns:
 - Maximum number of files that need to be selected.
 
- Default:
 - 2147483647
 
 - 
message
String message- Returns:
 - The default key for creating error messages in case the constraint is violated.
 
- Default:
 - "{de.xima.fc.workflow.validation.constraints.MultiAttachmentSize.message}"
 
 - 
min
int min- Returns:
 - Minimum number of files that need to be selected.
 
- Default:
 - 0
 
 - 
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:
 - {}
 
 
 -