Package ddf.catalog.validation.report
Interface AttributeValidationReport
public interface AttributeValidationReport
Describes the outcome of validating a single metacard attribute.
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 for the validated attribute.Returns a set of suggested values for the attribute.
-
Method Details
-
getAttributeValidationViolations
Set<ValidationViolation> getAttributeValidationViolations()Returns the set ofValidationViolations for the validated attribute.If there are no violations, this method just returns an empty set.
- Returns:
- the set of violations or an empty set if there are none
-
getSuggestedValues
Returns a set of suggested values for the attribute.If there are no suggested values, this method just returns an empty set.
- Returns:
- the set of suggested values or an empty set if there are none
-