Interface CdsModelUtils.EntitySingleDataVisitor

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

@FunctionalInterface public static interface CdsModelUtils.EntitySingleDataVisitor
Functional interface for entity data visitors. The visitor can be used to traverse a data set deeply with it's entity metadata available
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    visit(com.sap.cds.reflect.CdsEntity entity, Map<String,Object> data, com.sap.cds.reflect.CdsElement parent, Map<String,Object> parentData)
    Visits the entity data together with it's metadata from the CDS model
  • Method Details

    • visit

      void visit(com.sap.cds.reflect.CdsEntity entity, Map<String,Object> data, com.sap.cds.reflect.CdsElement parent, Map<String,Object> parentData)
      Visits the entity data together with it's metadata from the CDS model
      Parameters:
      entity - the entity meta definition
      data - the entity data
      parent - the element from which the parent entity referred to this entity. For root entities this is null
      parentData - the data of the parent entity