|
Jadex 0.941 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjadex.model.Report
A report contains information about errors in the model.
Constructor Summary | |
Report(IMElement element)
Create a report object. |
Method Summary | |
void |
addDocument(String id,
String doc)
Add an external document. |
void |
addEntry(IMElement element,
String message)
Add an entry to the report. |
IMElement[] |
getBeliefbaseErrors()
Get beliefs, belief sets, references, and initial elements which have errors, or contain elements with errors. |
Map |
getDocuments()
Get the external documents. |
IMElement[] |
getElementErrors(IMElement ancestor)
Get all elements which have errors and are contained in the given element. |
IMElement[] |
getElements()
Get all invalid elements. |
int |
getErrorCount()
Get the total number of errors. |
IMElement[] |
getEventbaseErrors()
Get events, references, and initial elements which have errors, or contain elements with errors. |
IMElement[] |
getGoalbaseErrors()
Get goals, references, and initial elements which have errors, or contain elements with errors. |
String[] |
getMessages(IMElement element)
Get the messages for a given element. |
IMElement[] |
getOtherErrors()
Get other errors, not in belief goal and plan base. |
IMElement[] |
getPlanbaseErrors()
Get plans, and initial elements which have errors, or contain elements with errors. |
boolean |
isEmpty()
Check if this report is empty (i.e. the model is valid). |
String |
toHTMLString()
Generate an html representation of the report. |
String |
toString()
Generate a string representation of the report. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Report(IMElement element)
Method Detail |
public boolean isEmpty()
public void addEntry(IMElement element, String message)
element
- The element to which the entry applies.message
- The problem description.public IMElement[] getElements()
public String[] getMessages(IMElement element)
public String toString()
public String toHTMLString()
public IMElement[] getBeliefbaseErrors()
public IMElement[] getGoalbaseErrors()
public IMElement[] getPlanbaseErrors()
public IMElement[] getEventbaseErrors()
public IMElement[] getOtherErrors()
public IMElement[] getElementErrors(IMElement ancestor)
public void addDocument(String id, String doc)
id
- The document id as used in anchor tags.doc
- The html text.public Map getDocuments()
public int getErrorCount()
|
Jadex 0.941 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.