Class DraftAdapter

java.lang.Object
com.sap.cds.reflect.impl.DraftAdapter

public class DraftAdapter extends Object
This class can be used to adapt a CDS model that was generated for OData in a way that it reflects the actual database objects and relations between them.
  • Field Details

  • Constructor Details

    • DraftAdapter

      public DraftAdapter(Map<String,com.fasterxml.jackson.databind.JsonNode> entityObjects, CdsModelReader.Config config)
      Constructor
      Parameters:
      entityObjects - a modifiable map of the entities in the model
  • Method Details

    • adapt

      public void adapt()
    • isDraftElement

      public static boolean isDraftElement(String element)