org.apache.olingo.client.api.domain

## Class ClientInlineEntity

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

- All Implemented Interfaces:
    ClientAnnotatable

      public class ClientInlineEntity
      extends ClientLink

  OData in-line entity.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class org.apache.olingo.client.api.domain.ClientLink

      `ClientLink.Builder`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ClientInlineEntity(URI uri, ClientLinkType type, String title, ClientEntity entity)` Constructor.
    `ClientInlineEntity(URI baseURI, String href, ClientLinkType type, String title, ClientEntity entity)` Constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object obj)`
    `ClientEntity` | `getEntity()` Gets wrapped entity.
    `int` | `hashCode()`
    `String` | `toString()`

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

      `asInlineEntity, asInlineEntitySet, getAnnotations, getMediaETag, getRel, getType`

    - ### 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

    - #### ClientInlineEntity

          public ClientInlineEntity(URI uri,
                                    ClientLinkType type,
                                    String title,
                                    ClientEntity entity)

      Constructor.
      Parameters:
        `uri` - edit link.
        `type` - type.
        `title` - title.
        `entity` - entity.

    - #### ClientInlineEntity

          public ClientInlineEntity(URI baseURI,
                                    String href,
                                    ClientLinkType type,
                                    String title,
                                    ClientEntity entity)

      Constructor.
      Parameters:
        `baseURI` - base URI.
        `href` - href.
        `type` - type.
        `title` - title.
        `entity` - entity.

  - ### Method Detail

    - #### getEntity

          public ClientEntity getEntity()

      Gets wrapped entity.
      Returns:
        wrapped entity.

    - #### 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.