com.softwareag.mdm.service
Interface ValidationReport


public interface ValidationReport

A validation report is composed of validation items each one is characterized by a severity and has a user message.

Messages threshold property

A threshold property can be set so as to specify the maximum number of messages to consider when performing a validation. It is defined by the property mdm.validation.messages.threshold in 'mdm.properties' file.

This threshold is considered for each severity in each validation report. When the threshold is reached:

When set to 0 or a negative value the threshold is not considered. Default threshold is 0.

See Also:
ValidationReportItem

Method Summary
 ValidationReportItemIterator getItemsOfSeverity(Severity aSeverity)
          Returns the validation items of the severity specified.
 boolean hasItemsOfSeverity(Severity aSeverity)
          Returns true if this report has validation items of the severity specified.
 boolean hasItemsOfSeverityOrMore(Severity aSeverity)
          Returns true if this report has validation items of the severity specified or more severe.
 boolean hasTooManyItemsOfSeverity(Severity aSeverity)
          Returns true if the threshold specified in mdm.properties has been reached for the specified severity.
 

Method Detail

hasItemsOfSeverity

public boolean hasItemsOfSeverity(Severity aSeverity)
Returns true if this report has validation items of the severity specified.


hasItemsOfSeverityOrMore

public boolean hasItemsOfSeverityOrMore(Severity aSeverity)
Returns true if this report has validation items of the severity specified or more severe.

See Also:
Severity.isEqualOrMoreSevereThan(Severity)

getItemsOfSeverity

public ValidationReportItemIterator getItemsOfSeverity(Severity aSeverity)
Returns the validation items of the severity specified.


hasTooManyItemsOfSeverity

public boolean hasTooManyItemsOfSeverity(Severity aSeverity)
Returns true if the threshold specified in mdm.properties has been reached for the specified severity.

For more information, see Messages threshold property.



(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.