Package jadex.bridge

Class ErrorReport

  • All Implemented Interfaces:
    IErrorReport, java.io.Serializable

    public class ErrorReport
    extends java.lang.Object
    implements IErrorReport
    Error report that holds information about model errors.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Map<java.lang.String,​java.lang.String> documents
      The external reports.
      protected java.lang.String errhtml
      The error html text.
      protected java.lang.String errtext
      The error text.
    • Constructor Summary

      Constructors 
      Constructor Description
      ErrorReport()  
      ErrorReport​(java.lang.String errtext, java.lang.String errhtml, java.util.Map documents)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.String> getDocuments()
      Get the external documents.
      java.lang.String getErrorHTML()
      Get the html representation of the report.
      java.lang.String getErrorText()
      Get the text representation of the report.
      void setDocuments​(java.util.Map<java.lang.String,​java.lang.String> documents)
      Set the documents.
      void setErrorHTML​(java.lang.String errhtml)
      Set the errhtml.
      void setErrorText​(java.lang.String errtext)
      Set the errtext.
      • Methods inherited from class java.lang.Object

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

      • errtext

        protected java.lang.String errtext
        The error text.
      • errhtml

        protected java.lang.String errhtml
        The error html text.
      • documents

        protected java.util.Map<java.lang.String,​java.lang.String> documents
        The external reports.
    • Constructor Detail

      • ErrorReport

        public ErrorReport()
      • ErrorReport

        public ErrorReport​(java.lang.String errtext,
                           java.lang.String errhtml,
                           java.util.Map documents)
    • Method Detail

      • getErrorText

        public java.lang.String getErrorText()
        Get the text representation of the report.
        Specified by:
        getErrorText in interface IErrorReport
        Returns:
        The text.
      • setErrorText

        public void setErrorText​(java.lang.String errtext)
        Set the errtext.
        Parameters:
        errtext - The errtext to set.
      • getErrorHTML

        public java.lang.String getErrorHTML()
        Get the html representation of the report.
        Specified by:
        getErrorHTML in interface IErrorReport
        Returns:
        The html string.
      • setErrorHTML

        public void setErrorHTML​(java.lang.String errhtml)
        Set the errhtml.
        Parameters:
        errhtml - The errhtml to set.
      • getDocuments

        public java.util.Map<java.lang.String,​java.lang.String> getDocuments()
        Get the external documents. (model -> report)
        Specified by:
        getDocuments in interface IErrorReport
        Returns:
        The external documents.
      • setDocuments

        public void setDocuments​(java.util.Map<java.lang.String,​java.lang.String> documents)
        Set the documents.
        Parameters:
        documents - The documents to set.