Class CsdlFunction
java.lang.Object
org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
org.apache.olingo.commons.api.edm.provider.CsdlOperation
org.apache.olingo.commons.api.edm.provider.CsdlFunction
- All Implemented Interfaces:
CsdlAnnotatable
,CsdlNamed
The type Csdl function.
-
Field Summary
Fields inherited from class org.apache.olingo.commons.api.edm.provider.CsdlOperation
annotations, entitySetPath, isBound, name, parameters, returnType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Is composable.setAnnotations
(List<CsdlAnnotation> annotations) Sets a list of annotationssetBound
(boolean isBound) Sets as bound operation.setComposable
(boolean isComposable) Sets composable.setEntitySetPath
(String entitySetPath) Sets entity set path.Sets name.setParameters
(List<CsdlParameter> parameters) Sets parameters.setReturnType
(CsdlReturnType returnType) Sets return type.Methods inherited from class org.apache.olingo.commons.api.edm.provider.CsdlOperation
getAnnotations, getEntitySetPath, getName, getParameter, getParameters, getReturnType, isBound
Methods inherited from class org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
getAllByName, getOneByName
-
Constructor Details
-
CsdlFunction
public CsdlFunction()
-
-
Method Details
-
isComposable
public boolean isComposable()Is composable.- Returns:
- the boolean
-
setComposable
Sets composable.- Parameters:
isComposable
- the is composable- Returns:
- the composable
-
setName
Description copied from class:CsdlOperation
Sets name.- Overrides:
setName
in classCsdlOperation
- Parameters:
name
- the name- Returns:
- the name
-
setBound
Description copied from class:CsdlOperation
Sets as bound operation.- Overrides:
setBound
in classCsdlOperation
- Parameters:
isBound
- the is bound- Returns:
- the bound
-
setEntitySetPath
Description copied from class:CsdlOperation
Sets entity set path.- Overrides:
setEntitySetPath
in classCsdlOperation
- Parameters:
entitySetPath
- the entity set path- Returns:
- the entity set path
-
setParameters
Description copied from class:CsdlOperation
Sets parameters.- Overrides:
setParameters
in classCsdlOperation
- Parameters:
parameters
- the parameters- Returns:
- the parameters
-
setReturnType
Description copied from class:CsdlOperation
Sets return type.- Overrides:
setReturnType
in classCsdlOperation
- Parameters:
returnType
- the return type- Returns:
- the return type
-
setAnnotations
Description copied from class:CsdlOperation
Sets a list of annotations- Overrides:
setAnnotations
in classCsdlOperation
- Parameters:
annotations
- list of annotations- Returns:
- this instance
-