public class CsdlFunction extends CsdlOperation
annotations, entitySetPath, isBound, name, parameters, returnType
Constructor and Description |
---|
CsdlFunction() |
Modifier and Type | Method and Description |
---|---|
boolean |
isComposable()
Is composable.
|
CsdlFunction |
setAnnotations(List<CsdlAnnotation> annotations)
Sets a list of annotations
|
CsdlFunction |
setBound(boolean isBound)
Sets as bound operation.
|
CsdlFunction |
setComposable(boolean isComposable)
Sets composable.
|
CsdlFunction |
setEntitySetPath(String entitySetPath)
Sets entity set path.
|
CsdlFunction |
setName(String name)
Sets name.
|
CsdlFunction |
setParameters(List<CsdlParameter> parameters)
Sets parameters.
|
CsdlFunction |
setReturnType(CsdlReturnType returnType)
Sets return type.
|
getAnnotations, getEntitySetPath, getName, getParameter, getParameters, getReturnType, isBound
getAllByName, getOneByName
public boolean isComposable()
public CsdlFunction setComposable(boolean isComposable)
isComposable
- the is composablepublic CsdlFunction setName(String name)
CsdlOperation
setName
in class CsdlOperation
name
- the namepublic CsdlFunction setBound(boolean isBound)
CsdlOperation
setBound
in class CsdlOperation
isBound
- the is boundpublic CsdlFunction setEntitySetPath(String entitySetPath)
CsdlOperation
setEntitySetPath
in class CsdlOperation
entitySetPath
- the entity set pathpublic CsdlFunction setParameters(List<CsdlParameter> parameters)
CsdlOperation
setParameters
in class CsdlOperation
parameters
- the parameterspublic CsdlFunction setReturnType(CsdlReturnType returnType)
CsdlOperation
setReturnType
in class CsdlOperation
returnType
- the return typepublic CsdlFunction setAnnotations(List<CsdlAnnotation> annotations)
CsdlOperation
setAnnotations
in class CsdlOperation
annotations
- list of annotationsCopyright © 2013–2018 The Apache Software Foundation. All rights reserved.