|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.actf.validation.reports.ValidationReport
public class ValidationReport
a validation report as generated by an AOP-based validation from a distinct JVM. This class serves as a model for all views that display reports or report-related information, such as creation contexts.
Constructor Summary | |
---|---|
ValidationReport()
|
|
ValidationReport(ValidationReportRecord[] records,
CreationContext[] contexts,
String id)
|
Method Summary | |
---|---|
void |
addCreationContext(CreationContext context)
add the creation context to this report |
void |
addCreationContexts(CreationContext[] contexts)
add the creation contexts to this report |
void |
addCreationContexts(Map contexts)
|
void |
addRecord(ValidationReportRecord record)
add a record to this report |
void |
addRecords(ValidationReportRecord[] records)
add the specified records to this report |
void |
addReportModifyListener(IReportModifyListener listener)
add a listener to be notified when items are added to this report. |
void |
addUniqueRecords(ValidationReportRecord[] newRecords)
|
void |
clear()
clears this report instance for a new report |
protected void |
fireReportModifyEvent(ReportModifyEvent event)
|
Map |
getCreationContexts()
return the creation contexts added to this report. |
String |
getDescription()
returns the report description |
String |
getModel()
|
String |
getProperty(String key)
get the property specified by the key |
ValidationReportRecord[] |
getRecords()
return all report records in this report |
String |
getReportID()
|
String |
getSource()
returns the source of the report |
Time |
getTimestamp()
|
String |
getTool()
|
boolean |
isActive()
|
boolean |
isEmpty()
returns whether or not this report has content. |
boolean |
isPersistent()
|
void |
removeReportModifyListener(IReportModifyListener listener)
remove the listener from the list of listeners to be notified when a modification to this report takes place |
void |
setActive(boolean active)
|
void |
setDescription(String desc)
set the description |
void |
setModel(String model)
|
void |
setPersistent(boolean persistent)
|
void |
setProperty(String key,
String val)
set a property on this report |
void |
setReportID(String id)
|
void |
setSource(String source)
set the source of the report |
void |
setTimestamp(Time timestamp)
|
void |
setTool(String tool)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidationReport()
public ValidationReport(ValidationReportRecord[] records, CreationContext[] contexts, String id)
Method Detail |
---|
public void clear()
public boolean isEmpty()
true
if this report has no contentpublic void addRecord(ValidationReportRecord record)
record
- -
record to be addedpublic void addRecords(ValidationReportRecord[] records)
records
- -
records to be addedpublic void addCreationContext(CreationContext context)
context
- -
context to be addedpublic void addCreationContexts(CreationContext[] contexts)
contexts
- -
contexts to be addedpublic void addCreationContexts(Map contexts)
public String getReportID()
public void setReportID(String id)
public ValidationReportRecord[] getRecords()
public Map getCreationContexts()
public String getDescription()
public void setDescription(String desc)
desc
- public String getSource()
public void setSource(String source)
source
- public String getProperty(String key)
key
-
null
public void setProperty(String key, String val)
key
- val
- public void addReportModifyListener(IReportModifyListener listener)
listener
- public void removeReportModifyListener(IReportModifyListener listener)
listener
- protected void fireReportModifyEvent(ReportModifyEvent event)
public boolean isPersistent()
public boolean isActive()
public void addUniqueRecords(ValidationReportRecord[] newRecords)
public void setPersistent(boolean persistent)
public void setActive(boolean active)
public Time getTimestamp()
public void setTimestamp(Time timestamp)
public String getTool()
public void setTool(String tool)
public String getModel()
public void setModel(String model)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |