code: public List<BindAttribute> getBindValues(CpoFunction function, Object obj) throws CpoException {
      List<BindAttribute> bindValues = new ArrayList<>();
      List<CpoArgument> arguments = function.getArguments();
      for (CpoArgument argument : arguments) {
        if (argument == null) {
          throw new CpoException("CpoArgument is null!");
        }
        bindValues.add(new BindAttribute(argument.getAttribute(), obj));
      }
      return bindValues;
    }
docs: Called by the CPO Framework. Binds all the attibutes from the class for the CPO meta parameters and the parameters
  from the dynamic where.