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