Last active
November 15, 2018 22:47
-
-
Save BumpeiShimada/b5910a4aecfe7258bda5973fee236748 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The base class for validating EventForm data | |
*/ | |
public interface BaseValidator { | |
// Argument "errors" should be replaced with error handling class. | |
// In actual case, when "errors" are not empty a program detect it and understand that there are errors. | |
void validate(EventForm form, List<String> errors); | |
ValidateType getValidateType(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment