org.apache.olingo.client.api.domain

## Class ClientItem

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

- Direct Known Subclasses:
    AbstractClientPayload, ClientLink

      public abstract class ClientItem
      extends Object

  Abstract representation of OData entities and links.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ClientItem(String name)` Constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object obj)`
    `URI` | `getLink()`
    `String` | `getName()`
    `int` | `hashCode()`
    `void` | `setLink(URI link)` Sets ODataItem link (it's edit link for `ClientEntity`).
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### ClientItem

          public ClientItem(String name)

      Constructor.
      Parameters:
        `name` - ODataItem name (it's entity type for `ClientEntity`).

  - ### Method Detail

    - #### getName

          public String getName()

      Returns:
        ODataItem name (it's entity type for `ClientEntity`).

    - #### getLink

          public URI getLink()

      Returns:
        ODataItem link (it's edit link for `ClientEntity`).

    - #### setLink

          public void setLink(URI link)

      Sets ODataItem link (it's edit link for `ClientEntity`).
      Parameters:
        `link` - link.

    - #### equals

          public boolean equals(Object obj)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

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