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 Details

    • getAttributeValidationViolations

      Set<ValidationViolation> getAttributeValidationViolations()
      Returns the set of ValidationViolations 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

      Set<String> 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