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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
validate(Path path, CdsElement element, Object value)
Validates the value of the given element.
-
-
-
Method Detail
-
validate
void validate(Path path, CdsElement element, Object value)
Validates the value of the given element.- Parameters:
path
- the path to the elementelement
- the CDS elementvalue
- the value, can be null
-
-