Class FcSwitchCaseUniquelyNamedValidator
- java.lang.Object
-
- de.xima.fc.validation.constraintvalidators.AConditionUniquelyNamedValidator<FcSwitchCaseUniquelyNamed,FcSwitchCaseProps.SingleCaseValue>
-
- de.xima.fc.workflow.validation.constraintvalidators.FcSwitchCaseUniquelyNamedValidator
-
- All Implemented Interfaces:
javax.validation.ConstraintValidator<FcSwitchCaseUniquelyNamed,List<FcSwitchCaseProps.SingleCaseValue>>
public final class FcSwitchCaseUniquelyNamedValidator extends AConditionUniquelyNamedValidator<FcSwitchCaseUniquelyNamed,FcSwitchCaseProps.SingleCaseValue> implements javax.validation.ConstraintValidator<FcSwitchCaseUniquelyNamed,List<FcSwitchCaseProps.SingleCaseValue>>
Constraint annotation validator forFcSwitchCaseUniquelyNamed
.- 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)
-
Methods inherited from class de.xima.fc.validation.constraintvalidators.AConditionUniquelyNamedValidator
validate
-
-
-
-
Method Detail
-
getVariableName
protected String getVariableName(FcSwitchCaseProps.SingleCaseValue value)
- Specified by:
getVariableName
in classAConditionUniquelyNamedValidator<FcSwitchCaseUniquelyNamed,FcSwitchCaseProps.SingleCaseValue>
-
isValid
public boolean isValid(List<FcSwitchCaseProps.SingleCaseValue> value, javax.validation.ConstraintValidatorContext context)
- Specified by:
isValid
in interfacejavax.validation.ConstraintValidator<FcSwitchCaseUniquelyNamed,List<FcSwitchCaseProps.SingleCaseValue>>
-
-