Class ValidationIssue


  • public class ValidationIssue
    extends java.lang.Object
    The class represents issues related to design-time validation of some aspect of a TDI Component. It is reminiscent of the Eclipse IMarker abstraction.
    • Constructor Summary

      Constructors 
      Constructor Description
      ValidationIssue​(int severity, java.lang.String problem, BaseConfiguration config, java.lang.String message)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BaseConfiguration getConfig()
      Return the configuration that has the problem.
      java.lang.String getMessage()
      Return the message that will be displayed.
      java.lang.String getProblem()
      Return the problem.
      int getSeverity()
      Return the level of the problem.
      void setConfig​(BaseConfiguration config)
      Set configuration that has the problem.
      void setMessage​(java.lang.String message)
      Set message that will be displayed.
      void setProblem​(java.lang.String problem)
      Set the problem.
      void setSeverity​(int severity)
      Set level of the problem.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ValidationIssue

        public ValidationIssue​(int severity,
                               java.lang.String problem,
                               BaseConfiguration config,
                               java.lang.String message)
        Constructor.
        Parameters:
        severity - the level of the problem.
        problem - the problem.
        config - that has the problem.
        message - that will be displayed.
    • Method Detail

      • getSeverity

        public int getSeverity()
        Return the level of the problem.
        Returns:
        the severity
      • setSeverity

        public void setSeverity​(int severity)
        Set level of the problem.
        Parameters:
        severity - the severity to be set
      • getProblem

        public java.lang.String getProblem()
        Return the problem.
        Returns:
        the problem.
      • setProblem

        public void setProblem​(java.lang.String problem)
        Set the problem.
        Parameters:
        problem - the problem to be set
      • getConfig

        public BaseConfiguration getConfig()
        Return the configuration that has the problem.
        Returns:
        the configuration.
      • setConfig

        public void setConfig​(BaseConfiguration config)
        Set configuration that has the problem.
        Parameters:
        config - the configuration to be set.
      • getMessage

        public java.lang.String getMessage()
        Return the message that will be displayed.
        Returns:
        the message
      • setMessage

        public void setMessage​(java.lang.String message)
        Set message that will be displayed.
        Parameters:
        message - the message to be set