Class ProfileAttributeConditionsUniquelyNamedValidator
- java.lang.Object
-
- de.xima.fc.validation.constraintvalidators.AConditionUniquelyNamedValidator<ProfileAttributeConditionsUniquelyNamed,ProfileAttributeCondition>
-
- de.xima.fc.validation.constraintvalidators.ProfileAttributeConditionsUniquelyNamedValidator
-
- All Implemented Interfaces:
javax.validation.ConstraintValidator<ProfileAttributeConditionsUniquelyNamed,List<ProfileAttributeCondition>>
public final class ProfileAttributeConditionsUniquelyNamedValidator extends AConditionUniquelyNamedValidator<ProfileAttributeConditionsUniquelyNamed,ProfileAttributeCondition> implements javax.validation.ConstraintValidator<ProfileAttributeConditionsUniquelyNamed,List<ProfileAttributeCondition>>
Validator implementation for theProfileAttributeConditionsUniquelyNamed
constraint.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description ProfileAttributeConditionsUniquelyNamedValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getVariableName(ProfileAttributeCondition value)
boolean
isValid(List<ProfileAttributeCondition> value, javax.validation.ConstraintValidatorContext context)
-
Methods inherited from class de.xima.fc.validation.constraintvalidators.AConditionUniquelyNamedValidator
validate
-
-
-
-
Method Detail
-
isValid
public boolean isValid(List<ProfileAttributeCondition> value, javax.validation.ConstraintValidatorContext context)
- Specified by:
isValid
in interfacejavax.validation.ConstraintValidator<ProfileAttributeConditionsUniquelyNamed,List<ProfileAttributeCondition>>
-
getVariableName
protected String getVariableName(ProfileAttributeCondition value)
- Specified by:
getVariableName
in classAConditionUniquelyNamedValidator<ProfileAttributeConditionsUniquelyNamed,ProfileAttributeCondition>
-
-