Module io.helidon.validation
Package io.helidon.validation
Annotation Interface Validation.Integer.MultipleOf
- Enclosing class:
Validation.Integer
@Target({METHOD,PARAMETER,ANNOTATION_TYPE,TYPE_USE,RECORD_COMPONENT})
@Constraint
public static @interface Validation.Integer.MultipleOf
The value must be a multiple of the specified
value().
Bytes are considered unsigned values (always between 0 and 255 inclusive).
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
message
String messageMessage to return instead of the default one of the validator. The message can be a string format, where the first (and only) parameter will be the actual value that is being validated.- Returns:
- message to describe the constraint validation error
- Default:
""
-
value
int valuePositive factor.- Returns:
- the factor the value must be divisible by
-