Class GraphicValidationUtils
java.lang.Object
edu.ie3.datamodel.utils.validation.ValidationUtils
edu.ie3.datamodel.utils.validation.GraphicValidationUtils
-
Method Summary
Modifier and TypeMethodDescriptionprotected static void
check
(GraphicInput graphicInput) Validates a graphic input if:
- it is not null
- its graphic layer is not nullMethods inherited from class edu.ie3.datamodel.utils.validation.ValidationUtils
check, checkForDuplicateUuids, checkNonNull, checkNotImplementedException, detectMalformedQuantities, detectNegativeQuantities, detectPositiveQuantities, detectZeroOrNegativeQuantities, distinctByKey
-
Method Details
-
check
Validates a graphic input if:
- it is not null
- its graphic layer 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:
graphicInput
- GraphicInput to validate- Throws:
NotImplementedException
- if an unknown class is handed in
-