Package jadex.bridge
Class ErrorReport
- java.lang.Object
-
- jadex.bridge.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
-
-
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.
-
-
-
Method Detail
-
getErrorText
public java.lang.String getErrorText()
Get the text representation of the report.- Specified by:
getErrorText
in interfaceIErrorReport
- 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 interfaceIErrorReport
- 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 interfaceIErrorReport
- 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.
-
-