CsdlOperation
import io.skipcheck.tm1.csdl.CsdlOperation; An action or a function. Actions may change data and are invoked with POST; functions
don't, and are invoked with GET. A bound operation's first parameter is its binding
parameter: the type it's invoked on, such as tm1.Cube for
Cubes('x')/tm1.Reserve.
Members
CsdlOperation constructor | Validates and copies the components. |
bindingType | The binding parameter's type, for a bound operation. |
callerParameters | The parameters passed by the caller. |
toString | |
hashCode | |
equals | |
kind | |
name | |
bound | |
composable | |
entitySetPath | |
parameters | |
returnType | |
returnNullable | |
annotations |
CsdlOperation
constructorCsdlOperation(CsdlOperation.Kind kind, String name, boolean bound, boolean composable, String entitySetPath, List<CsdlParameter> parameters, CsdlTypeRef returnType, boolean returnNullable, List<CsdlAnnotation> annotations)Validates and copies the components.
Throws
IllegalArgumentException- if it's bound but has no parameters
bindingType
Optional<CsdlTypeRef> bindingType()The binding parameter's type, for a bound operation.
Returns
- the first parameter's type, or empty if the operation is unbound
callerParameters
List<CsdlParameter> callerParameters()The parameters passed by the caller: all of them, minus the binding parameter.
Returns
- the caller's parameters, in document order
toString
String toString()hashCode
int hashCode()equals
boolean equals(Object o)kind
CsdlOperation.Kind kind()name
String name()bound
boolean bound()composable
boolean composable()entitySetPath
String entitySetPath()parameters
List<CsdlParameter> parameters()returnType
CsdlTypeRef returnType()returnNullable
boolean returnNullable()annotations
List<CsdlAnnotation> annotations()Also in the Javadoc.