Package com.sap.cds
Interface CdsDataProcessor.Generator
- 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.
Function to compute a value for a CdsElement.
This is a functional interface whose functional method is
generate(Path, CdsElement, boolean)
.
-
Method Summary
Modifier and TypeMethodDescriptiongenerate
(Path path, CdsElement element, boolean isNull) Generates a value for the given element.
-
Method Details
-
generate
Generates a value for the given element.- Parameters:
path
- the path to the elementelement
- the CDS elementisNull
-true
if the element is mapped to null,false
if there is no value mapped to the element- Returns:
- the generated value, or null
-