Class BoundFunction.CollectionToSingle<BindingT,ResultT>
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.BoundFunction.CollectionToSingle<BindingT,ResultT>
- Type Parameters:
BindingT
- The type the function is bound to.ResultT
- The type this function returns.
- All Implemented Interfaces:
BoundFunction<BindingT,
,ResultT> BoundOperation<BindingT,
ResultT>
- Direct Known Subclasses:
BoundFunction.CollectionToSingleComplex
,BoundFunction.CollectionToSingleEntity
,BoundFunction.CollectionToSinglePrimitive
- Enclosing interface:
- BoundFunction<BindingT,
ResultT>
Specific
function
operating on a collection of elements returning a single element.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sap.cloud.sdk.datamodel.odatav4.core.BoundFunction
BoundFunction.CollectionToCollection<BindingT,
ResultT>, BoundFunction.CollectionToCollectionComplex<BindingT, ResultT extends VdmComplex<ResultT>>, BoundFunction.CollectionToCollectionEntity<BindingT, ResultT extends VdmEntity<ResultT>>, BoundFunction.CollectionToCollectionPrimitive<BindingT, ResultT>, BoundFunction.CollectionToSingle<BindingT, ResultT>, BoundFunction.CollectionToSingleComplex<BindingT, ResultT extends VdmComplex<ResultT>>, BoundFunction.CollectionToSingleEntity<BindingT, ResultT extends VdmEntity<ResultT>>, BoundFunction.CollectionToSinglePrimitive<BindingT, ResultT>, BoundFunction.Composable<BindingT, ResultT>, BoundFunction.SingleToCollection<BindingT, ResultT>, BoundFunction.SingleToCollectionComplex<BindingT, ResultT extends VdmComplex<ResultT>>, BoundFunction.SingleToCollectionEntity<BindingT, ResultT extends VdmEntity<ResultT>>, BoundFunction.SingleToCollectionPrimitive<BindingT, ResultT>, BoundFunction.SingleToSingle<BindingT, ResultT>, BoundFunction.SingleToSingleComplex<BindingT, ResultT extends VdmComplex<ResultT>>, BoundFunction.SingleToSingleEntity<BindingT, ResultT extends VdmEntity<ResultT>>, BoundFunction.SingleToSinglePrimitive<BindingT, ResultT> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe type this operations is bound to.The parameters this function is invoked with.The fully qualified name of the bound operation.The type this operations returns.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.core.BoundOperation
getBindingType, getQualifiedName, getReturnType
-
Constructor Details
-
CollectionToSingle
public CollectionToSingle(@Nonnull Class<BindingT> src, @Nonnull Class<ResultT> target, @Nonnull String name, @Nonnull Map<String, Object> args) Create an instance of a bound function.- Parameters:
src
- The type this function is bound to.target
- The type this function returns.name
- The fully qualified nameargs
- Key-value-pairs of function arguments names and their values
-
-
Method Details
-
getParameters
Description copied from interface:BoundFunction
The parameters this function is invoked with.- Specified by:
getParameters
in interfaceBoundFunction<BindingT,
ResultT> - Returns:
- The parameters this function is invoked with.
-
getBindingType
Description copied from interface:BoundOperation
The type this operations is bound to.- Specified by:
getBindingType
in interfaceBoundOperation<BindingT,
ResultT> - Returns:
- The type this operations is bound to.
-
getReturnType
Description copied from interface:BoundOperation
The type this operations returns.- Specified by:
getReturnType
in interfaceBoundOperation<BindingT,
ResultT> - Returns:
- The type this operations returns.
-
getQualifiedName
Description copied from interface:BoundOperation
The fully qualified name of the bound operation.- Specified by:
getQualifiedName
in interfaceBoundOperation<BindingT,
ResultT> - Returns:
- The fully qualified name of bound operation.
-