org.apache.olingo.odata2.api.servicedocument

## Interface Collection

-     public interface Collection

  A Collection

  Collection element describes a Collection

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<Accept>` | `getAcceptElements()` Get the media range that specifies a type of representation that can be POSTed to a Collection
    `List<Categories>` | `getCategories()`
    `CommonAttributes` | `getCommonAttributes()` Get common attributes
    `List<ExtensionElement>` | `getExtesionElements()` Get the list of extension elements
    `String` | `getHref()` Get the "href" attribute, whose value gives IRI of the Collection
    `Title` | `getTitle()` Get the human-readable title for the Collection

- - ### Method Detail

    - #### getTitle

          Title getTitle()

      Get the human-readable title for the Collection
      Returns:
        `Title`

    - #### getHref

          String getHref()

      Get the "href" attribute, whose value gives IRI of the Collection
      Returns:
        href as String

    - #### getCommonAttributes

          CommonAttributes getCommonAttributes()

      Get common attributes
      Returns:
        `CommonAttributes`

    - #### getAcceptElements

          List<Accept> getAcceptElements()

      Get the media range that specifies a type of representation that can be POSTed to a Collection
      Returns:
        a list of `Accept`

    - #### getCategories

          List<Categories> getCategories()

      Returns:
        a list of `Categories`

    - #### getExtesionElements

          List<ExtensionElement> getExtesionElements()

      Get the list of extension elements
      Returns:
        a list of `ExtensionElement`

Copyright © 2013-2023 The Apache Software Foundation. All Rights Reserved.