org.apache.olingo.client.api.domain

## Interface ClientCollectionValue<T extends ClientValue>

- Type Parameters:
    `T` - The actual ODataValue interface.
  All Superinterfaces:
    ClientValue, Iterable<T>

      public interface ClientCollectionValue<T extends ClientValue>
      extends ClientValue, Iterable<T>

  OData collection property value.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `ClientCollectionValue<T>` | `add(ClientValue value)` Adds a value to the collection.
    `Collection<Object>` | `asJavaCollection()` Converts this instance as POJO collection.
    `boolean` | `isEmpty()` Checks if collection is empty.
    `int` | `size()` Gets collection size.

    - ### Methods inherited from interface org.apache.olingo.client.api.domain.ClientValue

      `asCollection, asComplex, asEnum, asPrimitive, getTypeName, isCollection, isComplex, isEnum, isPrimitive`

    - ### Methods inherited from interface java.lang.Iterable

      `forEach, iterator, spliterator`

- - ### Method Detail

    - #### add

          ClientCollectionValue<T> add(ClientValue value)

      Adds a value to the collection.
      Parameters:
        `value` - value to be added.

    - #### isEmpty

          boolean isEmpty()

      Checks if collection is empty.
      Returns:
        'TRUE' if empty; 'FALSE' otherwise.

    - #### size

          int size()

      Gets collection size.
      Returns:
        collection size.

    - #### asJavaCollection

          Collection<Object> asJavaCollection()

      Converts this instance as POJO collection.
      Returns:
        this instance as POJO collection

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