Package io.github.marcopaglio.booking.validator.restricted
package io.github.marcopaglio.booking.validator.restricted
Defines some rules to check for creating entity objects for the booking application.
-
ClassDescriptionAn implementation of validator for client entities that verifies if parameters are not null or empty string neither they contain non-alphabetic characters, and fixes them if possible.An implementation of validator for reservation entities that verifies if parameters are not null neither date string contains non-valid characters, or are in a non-valid format or out of range.