Class MeasuringElementMeasureValidator
java.lang.Object
overit.geocallapp.wfm.orchestrator.assets.rs1.account.measuringelement.measure.MeasuringElementMeasureValidator
Validator for the measure account measuring element.
Checks if the input measuring element id matches the measure account measuring element.
Checks if the input measuring element id matches the measure account measuring element.
- Since:
- 20.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionInstantiates a newMeasuringElementMeasureValidator.voidChecks if the account measuring element measure matches the measuring element id.
-
Constructor Details
-
MeasuringElementMeasureValidator
public MeasuringElementMeasureValidator()
-
-
Method Details
-
make
Instantiates a newMeasuringElementMeasureValidator.- Parameters:
measuringElementId- the measuring element id- Returns:
- the validator
-
validate
Checks if the account measuring element measure matches the measuring element id.- Specified by:
validatein interfaceValidator<BOMeasure>- Parameters:
measure- theBOMeasure- Throws:
DAValidateException- if the measuring element id does not match the account measuring element measure
-