Class StructCollection2JsonOptions

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

public class StructCollection2JsonOptions extends CdsODataOptions
Options for the collections of complex type and entity serializers.
  • Method Details

    • getCount

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

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

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

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

      public String getId()
      Gets the id of the entity collection
    • isFullRepresentation

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

      public boolean isAutoExpand()
    • with

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