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