Class FunctionImport
java.lang.Object
org.apache.olingo.odata2.api.edm.provider.FunctionImport
Objects of this class represent a function import
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()setAnnotationAttributes(List<AnnotationAttribute> annotationAttributes) Sets the collection ofAnnotationAttributefor thisFunctionImportsetAnnotationElements(List<AnnotationElement> annotationElements) Sets the collection ofAnnotationElementfor thisFunctionImportsetDocumentation(Documentation documentation) Sets theDocumentationsetEntitySet(String entitySet) Sets theEntitySetof thisFunctionImportsetHttpMethod(String httpMethod) Sets the HTTP method of thisFunctionImportsetMapping(Mapping mapping) Sets theMappingSets the name of thisFunctionImportsetParameters(List<FunctionImportParameter> parameters) Sets theFunctionImportParameters of thisFunctionImportsetReturnType(ReturnType returnType) Sets theReturnTypeof thisFunctionImport
-
Constructor Details
-
FunctionImport
public FunctionImport()
-
-
Method Details
-
getName
- Returns:
- String name of this function import
-
getReturnType
- Returns:
ReturnTypeof this function import
-
getEntitySet
- Returns:
- String name of the entity set
-
getHttpMethod
- Returns:
- String name of the used HTTP method
-
getParameters
- Returns:
- List<
FunctionImportParameter>s of this function import
-
getMapping
- Returns:
Mappingfor this type
-
getDocumentation
- Returns:
Documentationdocumentation
-
getAnnotationAttributes
- Returns:
- collection of
AnnotationAttributeannotation attributes
-
getAnnotationElements
- Returns:
- collection of
AnnotationElementannotation elements
-
setName
Sets the name of thisFunctionImport- Parameters:
name-- Returns:
FunctionImportfor method chaining
-
setReturnType
Sets theReturnTypeof thisFunctionImport- Parameters:
returnType-- Returns:
FunctionImportfor method chaining
-
setEntitySet
Sets theEntitySetof thisFunctionImport- Parameters:
entitySet-- Returns:
FunctionImportfor method chaining
-
setHttpMethod
Sets the HTTP method of thisFunctionImport- Parameters:
httpMethod-- Returns:
FunctionImportfor method chaining
-
setParameters
Sets theFunctionImportParameters of thisFunctionImport- Parameters:
parameters-- Returns:
FunctionImportfor method chaining
-
setMapping
Sets theMapping- Parameters:
mapping-- Returns:
FunctionImportfor method chaining
-
setDocumentation
Sets theDocumentation- Parameters:
documentation-- Returns:
FunctionImportfor method chaining
-
setAnnotationAttributes
Sets the collection ofAnnotationAttributefor thisFunctionImport- Parameters:
annotationAttributes-- Returns:
FunctionImportfor method chaining
-
setAnnotationElements
Sets the collection ofAnnotationElementfor thisFunctionImport- Parameters:
annotationElements-- Returns:
FunctionImportfor method chaining
-