Class NavigationProperty2JsonOptions

java.lang.Object
com.sap.cds.adapter.odata.v4.serializer.json.options.CdsODataOptions
com.sap.cds.adapter.odata.v4.serializer.json.options.NavigationProperty2JsonOptions

public class NavigationProperty2JsonOptions extends CdsODataOptions
Options for the navigation property serializers.
  • Method Details

    • getContextURL

      public ContextURL getContextURL()
      Gets the ContextURL.
      Overrides:
      getContextURL in class CdsODataOptions
    • getCount

      public CountOption getCount()
      Gets the $count system query option.
    • isCountPath

      public boolean isCountPath()
    • getExpand

      public ExpandOption getExpand()
      Gets the $expand system query option.
    • getSelect

      public SelectOption getSelect()
      Gets the $select system query option.
    • getLevels

      public LevelsExpandOption getLevels()
    • getWriteOnlyReferences

      public boolean getWriteOnlyReferences()
      only writes the references of the entities
    • isFullRepresentation

      public boolean isFullRepresentation()
      Inline entries will not have @delta if representation is full
    • isAutoExpand

      public boolean isAutoExpand()
    • with

      public static NavigationProperty2JsonOptions.Builder with(ContentType contentType, String odataVersion, CdsRequestGlobals globals)
      Initializes the options builder.