Annotation Interface EdmFunctionImport.ReturnType

Enclosing class:
EdmFunctionImport

public static @interface EdmFunctionImport.ReturnType

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

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    Concrete return types as specified in OData.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Define the return type for the function import.
  • Optional Element Summary

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

    • type

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

      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