Class GraphicValidationUtils

java.lang.Object
edu.ie3.datamodel.utils.validation.ValidationUtils
edu.ie3.datamodel.utils.validation.GraphicValidationUtils

public class GraphicValidationUtils extends ValidationUtils
  • Method Details

    • check

      protected static void check(GraphicInput graphicInput)
      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