Class BoundFunction.SingleToSingleEntity<BindingT,ResultT extends VdmEntity<ResultT>>

java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.BoundFunction.SingleToSingle<BindingT,ResultT>
com.sap.cloud.sdk.datamodel.odatav4.core.BoundFunction.SingleToSingleEntity<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.SingleToSingleEntity.Composable
Enclosing interface:
BoundFunction<BindingT,ResultT>

public static class BoundFunction.SingleToSingleEntity<BindingT,ResultT extends VdmEntity<ResultT>> extends BoundFunction.SingleToSingle<BindingT,ResultT>
Specific function operating on a single element and returning an entity.
  • Constructor Details

    • SingleToSingleEntity

      public SingleToSingleEntity(@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 name
      args - Key-value-pairs of function arguments names and their values
  • Method Details

    • getParameters

      @Nonnull public ODataFunctionParameters getParameters()
      Description copied from interface: BoundFunction
      The parameters this function is invoked with.
      Specified by:
      getParameters in interface BoundFunction<BindingT,ResultT>
      Returns:
      The parameters this function is invoked with.
    • getBindingType

      @Nonnull public Class<BindingT> getBindingType()
      Description copied from interface: BoundOperation
      The type this operations is bound to.
      Specified by:
      getBindingType in interface BoundOperation<BindingT,ResultT>
      Returns:
      The type this operations is bound to.
    • getReturnType

      @Nonnull public Class<ResultT> getReturnType()
      Description copied from interface: BoundOperation
      The type this operations returns.
      Specified by:
      getReturnType in interface BoundOperation<BindingT,ResultT>
      Returns:
      The type this operations returns.
    • getQualifiedName

      @Nonnull public String getQualifiedName()
      Description copied from interface: BoundOperation
      The fully qualified name of the bound operation.
      Specified by:
      getQualifiedName in interface BoundOperation<BindingT,ResultT>
      Returns:
      The fully qualified name of bound operation.