Annotation Type Operation
Mark method as EDM function import.
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionOperation type, function or action. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean
A function element MAY specify a Boolean value for the IsComposable attribute.Class<?>
The action/function MAY/MUST specify a return type using the edm:ReturnType element.
-
Element Details
-
name
String name -
type
OperationType typeOperation type, function or action.- Returns:
- operation type.
-
-
-
referenceType
Class<?> referenceType- Default:
- java.lang.Void.class
-
returnType
String returnTypeThe action/function MAY/MUST specify a return type using the edm:ReturnType element. The return type must be a scalar, entity or complex type, or a collection of scalar, entity or complex types.- Returns:
- operation return type.
- Default:
- ""
-
isComposable
boolean isComposableA function element MAY specify a Boolean value for the IsComposable attribute. If no value is specified for the IsComposable attribute, the value defaults to false.
Functions whose IsComposable attribute is true are considered composable. A composable function can be invoked with additional path segments or system query options appended to the path that identifies the composable function as appropriate for the type returned by the composable function.- Returns:
- TRUE if is composable; FALSE otherwise.
- Default:
- false
-