Annotation Type EdmFunctionImport
-
@Retention(RUNTIME) @Target(METHOD) public @interface EdmFunctionImport
Annotation for definition of an method as an
EdmFunctionImportcall/endpoint.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description EdmFunctionImport.ReturnTypereturnTypeDefine the return type of this function import
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description EdmDocumentationdocumentationDefines additional documentation for this function import.StringentitySetDefine the name for the according entity set of the function import.EdmFunctionImport.HttpMethodhttpMethodDefine the http method for which this function import is used If not set the default http methodGETis used.StringnameDefine the name for the function import.
-
-
-
Element Detail
-
returnType
EdmFunctionImport.ReturnType returnType
Define the return type of this function import- Returns:
- return type of this function import
-
-
-
name
String name
Define 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 entitySet
Define 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:
- ""
-
-
-
httpMethod
EdmFunctionImport.HttpMethod httpMethod
Define 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:
- org.apache.olingo.odata2.api.annotation.edm.EdmFunctionImport.HttpMethod.GET
-
-
-
documentation
EdmDocumentation documentation
Defines additional documentation for this function import.- Returns:
- additional documentation for this function import.
- Default:
- @org.apache.olingo.odata2.api.annotation.edm.EdmDocumentation
-
-