Class ComponentInformationValidator
java.lang.Object
de.fraunhofer.iese.mydata.component.information.validation.ComponentInformationValidator
- All Implemented Interfaces:
javax.validation.ConstraintValidator<MyDataComponentInformation,
Object>
public class ComponentInformationValidator
extends Object
implements javax.validation.ConstraintValidator<MyDataComponentInformation,Object>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(MyDataComponentInformation constraintAnnotation) boolean
-
Constructor Details
-
ComponentInformationValidator
public ComponentInformationValidator()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfacejavax.validation.ConstraintValidator<MyDataComponentInformation,
Object>
-
isValid
public boolean isValid(Object componentInformation, javax.validation.ConstraintValidatorContext context) - Specified by:
isValid
in interfacejavax.validation.ConstraintValidator<MyDataComponentInformation,
Object>
-