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 toMultiAttachment. Checks that the given range of attachments are selected.- Since:
 - 8.1.0
 
 
- 
- 
Field Summary
Fields Modifier and Type Fields Description static StringMESSAGE_MAX_ONLYMessage that should be used when you only set a maximum count.static StringMESSAGE_MIN_ONLYMessage that should be used when you only set a minimum count. 
 - 
 
- 
- 
Field Detail
- 
MESSAGE_MAX_ONLY
static final String MESSAGE_MAX_ONLY
Message that should be used when you only set a maximum count. 
 - 
 
- 
- 
MESSAGE_MIN_ONLY
static final String MESSAGE_MIN_ONLY
Message that should be used when you only set a minimum count. 
 - 
 
- 
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.MultiAttachmentSize.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:
 - {}
 
 
 - 
 
 -