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()
Metadata for the function or action.
|
ParameterList |
getParameters()
Actual parameters for ths method application.
|
void |
setMethod(DataMethod value)
Metadata for the function or action.
|
void |
setParameters(ParameterList value)
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()
Metadata for the function or action.
public ParameterList getParameters()
Actual parameters for ths method application.
public void setMethod(DataMethod value)
Metadata for the function or action.
public void setParameters(ParameterList value)
Actual parameters for ths method application.