Jadex 0.96-beta1

jadex.model
Interface IReport

All Superinterfaces:
Serializable

public interface IReport
extends Serializable

The interface for an error report.


Method Summary
 Map getDocuments()
          Get the external documents.
 IMElement[] getElements()
          Get all invalid elements.
 int getErrorCount()
          Get the total number of errors.
 String[] getMessages(IMElement element)
          Get the messages for a given element.
 boolean isEmpty()
          Check if this report is empty (i.e. the model is valid).
 String toHTMLString()
          Generate an html representation of the report.
 

Method Detail

isEmpty

boolean isEmpty()
Check if this report is empty (i.e. the model is valid).

Returns:
True, if empty.

getElements

IMElement[] getElements()
Get all invalid elements.

Returns:
All invalid elements.

getMessages

String[] getMessages(IMElement element)
Get the messages for a given element.

Returns:
All messages.

toHTMLString

String toHTMLString()
Generate an html representation of the report.

Returns:
The html string.

getDocuments

Map getDocuments()
Get the external documents.

Returns:
The external documents.

getErrorCount

int getErrorCount()
Get the total number of errors.

Returns:
The total number of errors.

Jadex 0.96-beta1

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.