Package ddf.catalog.validation.report
Interface MetacardValidationReport
public interface MetacardValidationReport
Describes the outcome of validating a single
Metacard.
This code is experimental. While this interface is functional and tested, it may change or be removed in a future version of the library.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the set ofValidationViolations representing the attribute-level violations on the validatedMetacard.Returns the set ofValidationViolations representing the metacard-level violations on the validatedMetacard.
-
Method Details
-
getAttributeValidationViolations
Set<ValidationViolation> getAttributeValidationViolations()Returns the set ofValidationViolations representing the attribute-level violations on the validatedMetacard.If there are no attribute-level violations, this method just returns an empty set.
- Returns:
- the set of attribute-level violations or an empty set if there are none
-
getMetacardValidationViolations
Set<ValidationViolation> getMetacardValidationViolations()Returns the set ofValidationViolations representing the metacard-level violations on the validatedMetacard.If there are no metacard-level violations, this method just returns an empty set.
- Returns:
- the set of metacard-level violations or an empty set if there are none
-