Class MeasurementUnitValidationUtils
java.lang.Object
edu.ie3.datamodel.utils.validation.ValidationUtils
edu.ie3.datamodel.utils.validation.MeasurementUnitValidationUtils
-
Method Summary
Modifier and TypeMethodDescriptionprotected static void
check
(MeasurementUnitInput measurementUnit) Validates a measurement unit if:
- it is not null
- any values are measuredMethods inherited from class edu.ie3.datamodel.utils.validation.ValidationUtils
check, checkForDuplicateUuids, checkNonNull, checkNotImplementedException, detectMalformedQuantities, detectNegativeQuantities, detectPositiveQuantities, detectZeroOrNegativeQuantities, distinctByKey
-
Method Details
-
check
Validates a measurement unit if:
- it is not null
- any values are measured- Parameters:
measurementUnit
- Measurement unit to validate
-