Interface NavigableEntityCollection<EntityT extends VdmEntity<EntityT>>

Type Parameters:
EntityT - The generic entity type for which request builders can be instantiated.
All Superinterfaces:
OperationsOnEntityCollections

public interface NavigableEntityCollection<EntityT extends VdmEntity<EntityT>> extends OperationsOnEntityCollections
Related interface to provide access to type-safe request builders for the generic entity type.
  • Method Details

    • getAll

      @Nonnull GetAllRequestBuilder<EntityT> getAll()
      Fetch multiple entities.
      Returns:
      A request builder to fetch multiple entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.
    • create

      @Nonnull CreateRequestBuilder<EntityT> create(@Nonnull EntityT item)
      Create a new entity and save it to the OData service.
      Parameters:
      item - The entity object that will be created and saved.

      Constraints: Not nullable

      Returns:
      A request builder to create and save a new entity. To perform execution, call the execute method on the request builder object.
    • count

      @Nonnull CountRequestBuilder<EntityT> count()
      Fetch the number of entries from the entity collection matching the filter and search expressions.
      Returns:
      A request builder to fetch the count of entities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute method on the request builder object.