Class ValidateResponsiblePersonSaveDtoImpl
java.lang.Object
org.xbricks.inventories.inventory.validation.ValidateResponsiblePersonSaveDtoImpl
- All Implemented Interfaces:
jakarta.validation.ConstraintValidator<ValidateResponsiblePersonSaveDto,
ResponsiblePersonSaveDto>
public class ValidateResponsiblePersonSaveDtoImpl
extends Object
implements jakarta.validation.ConstraintValidator<ValidateResponsiblePersonSaveDto,ResponsiblePersonSaveDto>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isNameValid
(ResponsiblePersonSaveDto value, jakarta.validation.ConstraintValidatorContext context) boolean
isValid
(ResponsiblePersonSaveDto value, jakarta.validation.ConstraintValidatorContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jakarta.validation.ConstraintValidator
initialize
-
Constructor Details
-
ValidateResponsiblePersonSaveDtoImpl
public ValidateResponsiblePersonSaveDtoImpl()
-
-
Method Details
-
isValid
public boolean isValid(ResponsiblePersonSaveDto value, jakarta.validation.ConstraintValidatorContext context) - Specified by:
isValid
in interfacejakarta.validation.ConstraintValidator<ValidateResponsiblePersonSaveDto,
ResponsiblePersonSaveDto>
-
isNameValid
public boolean isNameValid(ResponsiblePersonSaveDto value, jakarta.validation.ConstraintValidatorContext context)
-