Class CheckDatabaseIdentifier
java.lang.Object
com.github.mizool.core.validation.CheckDatabaseIdentifier
- All Implemented Interfaces:
jakarta.validation.ConstraintValidator<DatabaseIdentifier,
Object>
public class CheckDatabaseIdentifier
extends Object
implements jakarta.validation.ConstraintValidator<DatabaseIdentifier,Object>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(DatabaseIdentifier identifier) boolean
isValid
(Object validationObject, jakarta.validation.ConstraintValidatorContext constraintValidatorContext)
-
Constructor Details
-
CheckDatabaseIdentifier
public CheckDatabaseIdentifier()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfacejakarta.validation.ConstraintValidator<DatabaseIdentifier,
Object>
-
isValid
public boolean isValid(Object validationObject, jakarta.validation.ConstraintValidatorContext constraintValidatorContext) - Specified by:
isValid
in interfacejakarta.validation.ConstraintValidator<DatabaseIdentifier,
Object>
-