org.apache.olingo.server.api.uri

## Interface UriResource

- All Known Subinterfaces:
    UriResourceAction, UriResourceComplexProperty, UriResourceCount, UriResourceEntitySet, UriResourceFunction, UriResourceIt, UriResourceLambdaAll, UriResourceLambdaAny, UriResourceLambdaVariable, UriResourceNavigation, UriResourcePartTyped, UriResourcePrimitiveProperty, UriResourceProperty, UriResourceRef, UriResourceRoot, UriResourceSingleton, UriResourceValue

      public interface UriResource

  Super interface for all objects representing resource parts. See `UriInfoResource` for details.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `UriResourceKind` | `getKind()`
    `String` | `getSegmentValue()` In case of an EntitySet this method will return the EntitySet name.
    `String` | `toString()`

- - ### Method Detail

    - #### getKind

          UriResourceKind getKind()

      Returns:
        Kind of the resource part

    - #### getSegmentValue

          String getSegmentValue()

      In case of an EntitySet this method will return the EntitySet name. In Case of $ref this method will return '$ref" as a String.
      Returns:
        the value of this URI Resource Segment

    - #### toString

          String toString()

      Overrides:
        `toString` in class `Object`

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