Class PayloadProcessor

java.lang.Object
com.sap.cds.adapter.odata.v4.processors.request.PayloadProcessor

public class PayloadProcessor extends Object
Turns EDMX entities or properties into Maps or Objects, according to the EDMX-defined structure. Types are already mapped to the one expected by CDS by leveraging TypeConverterUtils.
  • Constructor Details

  • Method Details

    • getEntity

      public Map<String,Object> getEntity(Entity entity)
      This method takes the output of Olingos deserializer and convert it to the payload representation understood by CDS4j (Map)
      Parameters:
      entity - the entity
      Returns:
      Map
    • getValue

      public Object getValue(Valuable property)