Class Struct2JsonBuilder

java.lang.Object
com.sap.cds.adapter.odata.v4.serializer.json.Struct2JsonBuilder
Direct Known Subclasses:
Complex2JsonBuilder, Entity2JsonBuilder

public abstract class Struct2JsonBuilder extends Object
Abstract builder for both complex types and entities.
  • Field Details

  • Constructor Details

  • Method Details

    • structType

      protected EdmStructuredType structType()
    • addContextAnnotation

      protected void addContextAnnotation(Struct2Json struct2json, boolean withETag)
    • createSelectList

      protected void createSelectList()
    • addTypeAnnotation

      protected void addTypeAnnotation(Struct2Json struct2json)
    • createProperties

      protected void createProperties(Struct2Json struct2json)
    • addDynamicExpandProperties

      public void addDynamicExpandProperties(Struct2Json struct2json, Set<String> potentialDynamicProperties)
    • addNavigationLink

      protected abstract void addNavigationLink(String navigationPropertyName)