org.apache.olingo.odata2.api.annotation.edm

## Annotation Type EdmFunctionImport.ReturnType

-     public static @interface EdmFunctionImport.ReturnType

  Annotation for definition of the return type of an `EdmFunctionImport` method.

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `EdmFunctionImport.ReturnType.Type` | `type` Define the return type for the function import.

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `boolean` | `isCollection` Define if the return type for the function import is a collection (entity set) or an single entity (entity).

- - ### Element Detail

    - #### type

          public abstract EdmFunctionImport.ReturnType.Type type

      Define the return type for the function import.
      Returns:
        return type for the function import

  - - #### isCollection

          public abstract boolean isCollection

      Define if the return type for the function import is a collection (entity set) or an single entity (entity).
      Returns:
        `true` if a collection is returned, otherwise `false` if a single entity is returned.
      Default:
        false

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