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