Class NodeValidationUtils
java.lang.Object
edu.ie3.datamodel.utils.validation.ValidationUtils
edu.ie3.datamodel.utils.validation.NodeValidationUtils
-
Method Summary
Methods inherited from class edu.ie3.datamodel.utils.validation.ValidationUtils
check, checkForDuplicateUuids, checkNonNull, checkNotImplementedException, detectMalformedQuantities, detectNegativeQuantities, detectPositiveQuantities, detectZeroOrNegativeQuantities, distinctByKey
-
Method Details
-
check
Validates a node if:
- it is not null
- voltage level is not null and valid
- target voltage is larger than zero and smaller than two
- subnet number is larger than zero
- geoPosition is not null- Parameters:
node
- Node to validate
-