Class FunctionImport
- java.lang.Object
-
- org.apache.olingo.odata2.api.edm.provider.FunctionImport
-
public class FunctionImport extends Object
Objects of this class represent a function import
-
-
Constructor Summary
Constructors Constructor Description FunctionImport()
-
Method Summary
-
-
-
Method Detail
-
getName
public String getName()
- Returns:
- String name of this function import
-
getReturnType
public ReturnType getReturnType()
- Returns:
ReturnTypeof this function import
-
getEntitySet
public String getEntitySet()
- Returns:
- String name of the entity set
-
getHttpMethod
public String getHttpMethod()
- Returns:
- String name of the used HTTP method
-
getParameters
public List<FunctionImportParameter> getParameters()
- Returns:
- List<
FunctionImportParameter>s of this function import
-
getDocumentation
public Documentation getDocumentation()
- Returns:
Documentationdocumentation
-
getAnnotationAttributes
public List<AnnotationAttribute> getAnnotationAttributes()
- Returns:
- collection of
AnnotationAttributeannotation attributes
-
getAnnotationElements
public List<AnnotationElement> getAnnotationElements()
- Returns:
- collection of
AnnotationElementannotation elements
-
setName
public FunctionImport setName(String name)
Sets the name of thisFunctionImport- Parameters:
name- Nome- Returns:
FunctionImportfor method chaining
-
setReturnType
public FunctionImport setReturnType(ReturnType returnType)
Sets theReturnTypeof thisFunctionImport- Parameters:
returnType- Tipo- Returns:
FunctionImportfor method chaining
-
setEntitySet
public FunctionImport setEntitySet(String entitySet)
Sets theEntitySetof thisFunctionImport- Parameters:
entitySet- Entidades- Returns:
FunctionImportfor method chaining
-
setHttpMethod
public FunctionImport setHttpMethod(String httpMethod)
Sets the HTTP method of thisFunctionImport- Parameters:
httpMethod- Metodo- Returns:
FunctionImportfor method chaining
-
setParameters
public FunctionImport setParameters(List<FunctionImportParameter> parameters)
Sets theFunctionImportParameters of thisFunctionImport- Parameters:
parameters- Parametros- Returns:
FunctionImportfor method chaining
-
setMapping
public FunctionImport setMapping(Mapping mapping)
Sets theMapping- Parameters:
mapping- Mapa- Returns:
FunctionImportfor method chaining
-
setDocumentation
public FunctionImport setDocumentation(Documentation documentation)
Sets theDocumentation- Parameters:
documentation- Documentação- Returns:
FunctionImportfor method chaining
-
setAnnotationAttributes
public FunctionImport setAnnotationAttributes(List<AnnotationAttribute> annotationAttributes)
Sets the collection ofAnnotationAttributefor thisFunctionImport- Parameters:
annotationAttributes- Atributos- Returns:
FunctionImportfor method chaining
-
setAnnotationElements
public FunctionImport setAnnotationElements(List<AnnotationElement> annotationElements)
Sets the collection ofAnnotationElementfor thisFunctionImport- Parameters:
annotationElements- Elementos- Returns:
FunctionImportfor method chaining
-
-