com.orchestranetworks.service
Interface ValidationReportItem


public interface ValidationReportItem

Represents an element of a validation report.

See Also:
ValidationReport.getItemsOfSeverity(Severity)

Method Summary
 UserMessage getMessage()
           
 Severity getSeverity()
           
 Object getSubject()
           
 boolean isError()
           
 boolean isInfo()
           
 boolean isOfSeverity(Severity aSeverity)
           
 boolean isWarning()
           
 

Method Detail

getMessage

public UserMessage getMessage()
Returns:
the user understandable message.

getSeverity

public Severity getSeverity()
Returns:
the severity of this item, that is the severity of the user message.
See Also:
UserMessage.getSeverity()

getSubject

public Object getSubject()
Returns:
the object that is associated with the error.

isError

public boolean isError()
Returns:
true if this item is an error.

isWarning

public boolean isWarning()
Returns:
true if this item is a warning.

isInfo

public boolean isInfo()
Returns:
true if this item is about an info.

isOfSeverity

public boolean isOfSeverity(Severity aSeverity)
Returns:
true if this item is of the severity specified.


(report a bug)
EBX.Platform 4.5.3 [0607:0003]
Copyright Orchestra Networks 2000-2008. All rights reserved.