Annotation Interface EdmFunctionImport
Annotation for definition of an method as an EdmFunctionImport call/endpoint.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumConcrete HttpMethods for a function import as specified in OData.static @interfaceAnnotation for definition of the return type of anEdmFunctionImportmethod. -
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionDefine the return type of this function import -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDefines additional documentation for this function import.Define the name for the according entity set of the function import.Define the http method for which this function import is used If not set the default http methodGETis used.Define the name for the function import.
-
Element Details
-
name
String nameDefine the name for the function import. If not set a default value has to be generated by the EDM provider.- Returns:
- name for the function import
- Default:
""
-
entitySet
String entitySetDefine the name for the according entity set of the function import. If not set a default value has to be generated by the EDM provider.- Returns:
- name for the according entity set of the function import
- Default:
""
-
returnType
EdmFunctionImport.ReturnType returnTypeDefine the return type of this function import- Returns:
- return type of this function import
-
httpMethod
EdmFunctionImport.HttpMethod httpMethodDefine the http method for which this function import is used If not set the default http methodGETis used.- Returns:
- http method for which this function import is used
- Default:
GET
-
documentation
EdmDocumentation documentationDefines additional documentation for this function import.- Returns:
- additional documentation for this function import.
- Default:
@org.apache.olingo.odata2.api.annotation.edm.EdmDocumentation
-