Annotation Interface Range
@Documented
@Target({FIELD,METHOD,PARAMETER,CONSTRUCTOR,TYPE_USE,ANNOTATION_TYPE})
@Retention(RUNTIME)
@Repeatable(Range.List.class)
@Constraint(validatedBy=io.fluxzero.sdk.tracking.handling.validation.constraints.RangeValidator.class)
public @interface Range
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceContainer annotation for repeatableRangeconstraints. -
Optional Element Summary
Optional Elements
-
Element Details
-
message
-
groups
-
payload
Class<? extends jakarta.validation.Payload>[] payload- Returns:
- payload metadata associated with this constraint
- Default:
{}
-
min
long min- Returns:
- inclusive lower bound
- Default:
0L
-
max
long max- Returns:
- inclusive upper bound
- Default:
9223372036854775807L
-