org.apache.olingo.odata2.api.uri

## Interface NavigationSegment

-     public interface NavigationSegment

  Navigation segment, consisting of a navigation property, its target entity set, and, optionally, a list of key predicates to determine a single entity out of the target entity set.
  Do not implement this interface or derive from class.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `EdmEntitySet` | `getEntitySet()` Gets the target entity set.
    `List<KeyPredicate>` | `getKeyPredicates()` Gets the key predicate for the target entity set.
    `EdmNavigationProperty` | `getNavigationProperty()` Gets the navigation property.

- - ### Method Detail

    - #### getNavigationProperty

          EdmNavigationProperty getNavigationProperty()

      Gets the navigation property.
      Returns:
        `EdmNavigationProperty` navigation property of this navigation segment

    - #### getEntitySet

          EdmEntitySet getEntitySet()

      Gets the target entity set.
      Returns:
        `EdmEntitySet` entity set of this navigation segment

    - #### getKeyPredicates

          List<KeyPredicate> getKeyPredicates()

      Gets the key predicate for the target entity set.
      Returns:
        List of `KeyPredicate`: key predicate of this navigation segment

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