Class OnlyMatchingChildrenValidator
java.lang.Object
de.fraunhofer.iese.mydata.solution.validation.OnlyMatchingChildrenValidator
- All Implemented Interfaces:
javax.validation.ConstraintValidator<OnlyMatchingChildren,
Solution>
public class OnlyMatchingChildrenValidator
extends Object
implements javax.validation.ConstraintValidator<OnlyMatchingChildren,Solution>
The Class PolicyValidator.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(OnlyMatchingChildren constraintAnnotation) boolean
Use this method to test the constraint.
-
Constructor Details
-
OnlyMatchingChildrenValidator
public OnlyMatchingChildrenValidator()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfacejavax.validation.ConstraintValidator<OnlyMatchingChildren,
Solution>
-
isValid
Use this method to test the constraint.- Specified by:
isValid
in interfacejavax.validation.ConstraintValidator<OnlyMatchingChildren,
Solution> - See Also:
-
ConstraintValidator.isValid(java.lang.Object, javax.validation.ConstraintValidatorContext)
-