Class CsdlOperation
java.lang.Object
org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmItem
org.apache.olingo.commons.api.edm.provider.CsdlOperation
- All Implemented Interfaces:
CsdlAnnotatable
,CsdlNamed
- Direct Known Subclasses:
CsdlAction
,CsdlFunction
public abstract class CsdlOperation
extends CsdlAbstractEdmItem
implements CsdlNamed, CsdlAnnotatable
The type Csdl operation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<CsdlAnnotation>
The Annotations.protected String
The Entity set path.protected boolean
The Is bound.protected String
The Name.protected List<CsdlParameter>
The Parameters.protected CsdlReturnType
The Return type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of annotationsGets entity set path.getName()
Gets name.getParameter
(String name) Gets parameter.Gets parameters.Gets return type.boolean
isBound()
Is bound.setAnnotations
(List<CsdlAnnotation> annotations) Sets a list of annotationssetBound
(boolean isBound) Sets as bound operation.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.CsdlAbstractEdmItem
getAllByName, getOneByName
-
Field Details
-
name
The Name. -
isBound
protected boolean isBoundThe Is bound. -
entitySetPath
The Entity set path. -
parameters
The Parameters. -
returnType
The Return type. -
annotations
The Annotations.
-
-
Constructor Details
-
CsdlOperation
public CsdlOperation()
-
-
Method Details
-
getName
Description copied from interface:CsdlNamed
Gets name. -
setName
Sets name.- Parameters:
name
- the name- Returns:
- the name
-
isBound
public boolean isBound()Is bound.- Returns:
- the boolean
-
setBound
Sets as bound operation.- Parameters:
isBound
- the is bound- Returns:
- the bound
-
getEntitySetPath
Gets entity set path.- Returns:
- the entity set path
-
setEntitySetPath
Sets entity set path.- Parameters:
entitySetPath
- the entity set path- Returns:
- the entity set path
-
getParameters
Gets parameters.- Returns:
- the parameters
-
getParameter
Gets parameter.- Parameters:
name
- the name- Returns:
- the parameter
-
setParameters
Sets parameters.- Parameters:
parameters
- the parameters- Returns:
- the parameters
-
getReturnType
Gets return type.- Returns:
- the return type
-
setReturnType
Sets return type.- Parameters:
returnType
- the return type- Returns:
- the return type
-
getAnnotations
Description copied from interface:CsdlAnnotatable
Returns a list of annotations- Specified by:
getAnnotations
in interfaceCsdlAnnotatable
- Returns:
- list of annotations
-
setAnnotations
Sets a list of annotations- Parameters:
annotations
- list of annotations- Returns:
- this instance
-