public class DataMethodCall
extends java.lang.Object
Encapsulates the application of an OData method (function or action) to a list of parameters.
This is used to represent calls to functions and actionn defined within an entity model, as opposed to QueryFunction
which is used to represent calls to builtin functions.
Constructor and Description |
---|
DataMethodCall() |
Modifier and Type | Method and Description |
---|---|
static DataMethodCall |
apply(DataMethod method,
ParameterList parameters)
Return a new function application.
|
DataMethod |
getMethod()
Return metadata for the function or action.
|
ParameterList |
getParameters()
Return actual parameters for ths method application.
|
void |
setMethod(DataMethod value)
Set metadata for the function or action.
|
void |
setParameters(ParameterList value)
Set actual parameters for ths method application.
|
public static DataMethodCall apply(DataMethod method, ParameterList parameters)
Return a new function application.
method
- Value for DataMethodCall.method
.parameters
- Value for DataMethodCall.parameters
.public DataMethod getMethod()
Return metadata for the function or action.
public ParameterList getParameters()
Return actual parameters for ths method application.
public void setMethod(DataMethod value)
Set metadata for the function or action.
value
- Metadata for the function or action.public void setParameters(ParameterList value)
Set actual parameters for ths method application.
value
- Actual parameters for ths method application.