Class ThermalUnitValidationUtils
java.lang.Object
edu.ie3.datamodel.utils.validation.ValidationUtils
edu.ie3.datamodel.utils.validation.ThermalUnitValidationUtils
-
Method Summary
Modifier and TypeMethodDescriptionprotected static void
check
(ThermalUnitInput thermalUnitInput) Validates a thermal unit if:
- it is not null
A "distribution" method, that forwards the check request to specific implementations to fulfill the checking task, based on the class of the given object.Methods inherited from class edu.ie3.datamodel.utils.validation.ValidationUtils
check, checkForDuplicateUuids, checkNonNull, checkNotImplementedException, detectMalformedQuantities, detectNegativeQuantities, detectPositiveQuantities, detectZeroOrNegativeQuantities, distinctByKey
-
Method Details
-
check
Validates a thermal unit if:
- it is not null
A "distribution" method, that forwards the check request to specific implementations to fulfill the checking task, based on the class of the given object.- Parameters:
thermalUnitInput
- ThermalUnitInput to validate- Throws:
NotImplementedException
- if an unknown class is handed in
-