Class ValidateAdapterNameSaveDtoImpl
java.lang.Object
org.xbricks.inventories.inventory.validation.ValidateAdapterNameSaveDtoImpl
- All Implemented Interfaces:
jakarta.validation.ConstraintValidator<ValidateAdapterNameSaveDto,
AdapterNameSaveDto>
public class ValidateAdapterNameSaveDtoImpl
extends Object
implements jakarta.validation.ConstraintValidator<ValidateAdapterNameSaveDto,AdapterNameSaveDto>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isNameValid
(AdapterNameSaveDto value, jakarta.validation.ConstraintValidatorContext context) boolean
isValid
(AdapterNameSaveDto 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
-
ValidateAdapterNameSaveDtoImpl
public ValidateAdapterNameSaveDtoImpl()
-
-
Method Details
-
isValid
public boolean isValid(AdapterNameSaveDto value, jakarta.validation.ConstraintValidatorContext context) - Specified by:
isValid
in interfacejakarta.validation.ConstraintValidator<ValidateAdapterNameSaveDto,
AdapterNameSaveDto>
-
isNameValid
public boolean isNameValid(AdapterNameSaveDto value, jakarta.validation.ConstraintValidatorContext context)
-