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 TypeMethodDescriptionbooleanIs 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, isBoundMethods 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:CsdlOperationSets name.- Overrides:
setNamein classCsdlOperation- Parameters:
name- the name- Returns:
- the name
-
setBound
Description copied from class:CsdlOperationSets as bound operation.- Overrides:
setBoundin classCsdlOperation- Parameters:
isBound- the is bound- Returns:
- the bound
-
setEntitySetPath
Description copied from class:CsdlOperationSets entity set path.- Overrides:
setEntitySetPathin classCsdlOperation- Parameters:
entitySetPath- the entity set path- Returns:
- the entity set path
-
setParameters
Description copied from class:CsdlOperationSets parameters.- Overrides:
setParametersin classCsdlOperation- Parameters:
parameters- the parameters- Returns:
- the parameters
-
setReturnType
Description copied from class:CsdlOperationSets return type.- Overrides:
setReturnTypein classCsdlOperation- Parameters:
returnType- the return type- Returns:
- the return type
-
setAnnotations
Description copied from class:CsdlOperationSets a list of annotations- Overrides:
setAnnotationsin classCsdlOperation- Parameters:
annotations- list of annotations- Returns:
- this instance
-