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
 EdmFunctionImport.ReturnType.Type type
          Define the return type for the function import.
 
Optional Element Summary
 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-2015 The Apache Software Foundation. All Rights Reserved.