Annotation Interface ValidY
@Documented
@Retention(RUNTIME)
@Target({METHOD,FIELD,PARAMETER,TYPE_USE})
@PositiveOrZero
@Max(255L)
@Constraint(validatedBy={})
@ReportAsSingleViolation
public @interface ValidY
Validates that a chip Y coordinate is in a sane range.
- Author:
- Donal Fellows
-
Optional Element Summary
Optional Elements
-
Element Details
-
message
String messageMessage on constraint violated.- Returns:
- Message
- Default:
- "Y coordinate (${validatedValue}) must be at least 0 and no more than 255"
-