org.apache.olingo.client.api.domain

## Class AbstractClientPayload

- java.lang.Object
- - org.apache.olingo.client.api.domain.ClientItem
  - - org.apache.olingo.client.api.domain.AbstractClientPayload

-     public abstract class AbstractClientPayload
      extends ClientItem

  OData entity.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractClientPayload(String name)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object obj)`
    `URI` | `getContextURL()` The context URL describes the content of the payload.
    `int` | `hashCode()`
    `void` | `setContextURL(URI contextURL)`
    `String` | `toString()`

    - ### Methods inherited from class org.apache.olingo.client.api.domain.ClientItem

      `getLink, getName, setLink`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### AbstractClientPayload

          public AbstractClientPayload(String name)

  - ### Method Detail

    - #### getContextURL

          public URI getContextURL()

      The context URL describes the content of the payload. It consists of the canonical metadata document URL and a fragment identifying the relevant portion of the metadata document.
      Returns:
        context URL.

    - #### setContextURL

          public void setContextURL(URI contextURL)

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `ClientItem`

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `ClientItem`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `ClientItem`

Copyright © 2013–2020 The Apache Software Foundation. All rights reserved.