Class EntityCollectionSerializerOptions

java.lang.Object
org.apache.olingo.server.api.serializer.EntityCollectionSerializerOptions

public class EntityCollectionSerializerOptions extends Object
Options for the OData serializer.
  • Constructor Details

    • EntityCollectionSerializerOptions

      public EntityCollectionSerializerOptions()
  • Method Details

    • getContextURL

      public ContextURL getContextURL()
      Gets the ContextURL.
    • 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
    • getODataContentWriteErrorCallback

      public ODataContentWriteErrorCallback getODataContentWriteErrorCallback()
      Gets the callback which is used in case of an exception during write of the content (in case the content will be written/streamed in the future)
      Returns:
      callback which is used in case of an exception during write of the content
    • xml10InvalidCharReplacement

      public String xml10InvalidCharReplacement()
      Gets the replacement string for unicode characters, that is not allowed in XML 1.0
    • isFullRepresentation

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

      Initializes the options builder.