Class InterventionMeasureInterventionValidator
java.lang.Object
overit.geocallapp.wfm.orchestrator.workorders.rs1.interventionmeasure.InterventionMeasureInterventionValidator
public class InterventionMeasureInterventionValidator
extends Object
implements Validator<BOMeasure>
Validator for the intervention measure.
Checks if the input intervention id matches the measure intervention.
Checks if the input intervention id matches the measure intervention.
- Since:
- 20.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionInstantiates a newInterventionMeasureInterventionValidator.voidChecks if the measure intervention matches the intervention id.
-
Constructor Details
-
InterventionMeasureInterventionValidator
public InterventionMeasureInterventionValidator()
-
-
Method Details
-
make
Instantiates a newInterventionMeasureInterventionValidator.- Parameters:
interventionId- the intervention id- Returns:
- the validator
-
validate
Checks if the measure intervention matches the intervention id.- Specified by:
validatein interfaceValidator<BOMeasure>- Parameters:
measure- theBOMeasure- Throws:
DAValidateException- if the intervention id does not match the measure intervention
-