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 ClassesModifier and TypeClassDescriptionstatic enumConcrete return types as specified in OData. -
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionDefine the return type for the function import. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanDefine 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 isCollectionDefine if the return type for the function import is a collection (entity set) or an single entity (entity).- Returns:
trueif a collection is returned, otherwisefalseif a single entity is returned.
- Default:
false
-