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
Constructors Constructor Description OnlyMatchingChildrenValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(OnlyMatchingChildren constraintAnnotation)
boolean
isValid(Solution solution, javax.validation.ConstraintValidatorContext context)
Use this method to test the constraint.
-
-
-
Method Detail
-
initialize
public void initialize(OnlyMatchingChildren constraintAnnotation)
- Specified by:
initialize
in interfacejavax.validation.ConstraintValidator<OnlyMatchingChildren,Solution>
-
isValid
public boolean isValid(Solution solution, javax.validation.ConstraintValidatorContext context)
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)
-
-