Package com.sap.cds

Interface CdsDataProcessor.Validator

  • Enclosing interface:
    CdsDataProcessor
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @Beta
    @FunctionalInterface
    public static interface CdsDataProcessor.Validator
    Function to validate the value of a CdsElement.

    This is a functional interface whose functional method is validate(Path, CdsElement, Object).

    • Method Detail

      • validate

        void validate​(Path path,
                      CdsElement element,
                      Object value)
        Validates the value of the given element.
        Parameters:
        path - the path to the element
        element - the CDS element
        value - the value, can be null