Class BoundAction.SingleToSingle<BindingT,ResultT>

java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.BoundAction.SingleToSingle<BindingT,ResultT>
Type Parameters:
BindingT - The type the action is bound to.
ResultT - The type this action returns.
All Implemented Interfaces:
BoundAction<BindingT,ResultT>, BoundOperation<BindingT,ResultT>
Enclosing interface:
BoundAction<BindingT,ResultT>

public static final class BoundAction.SingleToSingle<BindingT,ResultT> extends Object
Specific action operating on a single element and returning an object, if any.
  • Constructor Details

    • SingleToSingle

      public SingleToSingle(@Nonnull Class<BindingT> src, @Nonnull Class<ResultT> target, @Nonnull String name, @Nonnull Map<String,Object> parameters)
      Default constructor.
      Parameters:
      src - The type the action is bound to.
      target - The type this action returns.
      name - The fully qualified name of the action.
      parameters - The parameters to invoke this action with.
  • Method Details

    • getParameters

      @Nonnull public Map<String,Object> getParameters()
      Description copied from interface: BoundAction
      The parameters to invoke this action with.
      Specified by:
      getParameters in interface BoundAction<BindingT,ResultT>
      Returns:
      The parameters to invoke this action 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.