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