Class FcMultipleConditionsUniquelyNamedValidator
- java.lang.Object
-
- de.xima.fc.workflow.validation.constraintvalidators.FcMultipleConditionsUniquelyNamedValidator
-
- All Implemented Interfaces:
javax.validation.ConstraintValidator<FcMultipleConditionsUniquelyNamed,List<FcMultipleConditionProps.SingleCondition>>
public final class FcMultipleConditionsUniquelyNamedValidator extends Object implements javax.validation.ConstraintValidator<FcMultipleConditionsUniquelyNamed,List<FcMultipleConditionProps.SingleCondition>>
Validator implementation for theFcMultipleConditionsUniquelyNamed
constraint.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description FcMultipleConditionsUniquelyNamedValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getVariableName(FcMultipleConditionProps.SingleCondition value)
boolean
isValid(List<FcMultipleConditionProps.SingleCondition> value, javax.validation.ConstraintValidatorContext context)
protected boolean
validate(List<T> value, javax.validation.ConstraintValidatorContext context)
-
-
-
Method Detail
-
isValid
public boolean isValid(List<FcMultipleConditionProps.SingleCondition> value, javax.validation.ConstraintValidatorContext context)
- Specified by:
isValid
in interfacejavax.validation.ConstraintValidator<FcMultipleConditionsUniquelyNamed,List<FcMultipleConditionProps.SingleCondition>>
-
getVariableName
protected String getVariableName(FcMultipleConditionProps.SingleCondition value)
-
validate
protected final boolean validate(List<T> value, javax.validation.ConstraintValidatorContext context)
-
-