private LinkedList<Object> getParameters(XMXUTIL1CtrlRequest request) {
    LinkedList<Object> parameters = new LinkedList<Object>();

    if (request == null) {
      LOGGER.error("REQUEST IS NULL");
      this.errMsgs.add("REQUEST IS NULL");
      errCount++;
    }

    if (StrUtils.hasAValue(request.getInput())) {
      parameters.add(request.getInput());
    } else {
      LOGGER.error("REQUEST INPUT IS NULL");
      this.errMsgs.add("REQUEST INPUT IS NULL");
      errCount++;
    }

    return parameters;
  }
  private LinkedList<Object> getParameters(XMXSEC1CopyAmtRequest request) {
    LinkedList<Object> parameters = new LinkedList<Object>();

    if (request == null) {
      LOGGER.error(XMXSEC1Constants.ERR_MSG_REQ_IS_NULL);
      this.errMsgs.add(XMXSEC1Constants.ERR_MSG_REQ_IS_NULL);
      errCount++;
    } else {
      if (StrUtils.hasAValue(request.getXmzMsg())) {
        parameters.add(request.getXmzMsg());
      } else {
        LOGGER.error(
            XMXSEC1Constants.ERR_MSG_START
                + " XMZ - required. "
                + XMXSEC1Constants.ERR_MSG_REQD_INPUT.replace(
                    XMXSEC1Constants.SRVNM, XMXSEC1Constants.COPYAMT));
      }
      parameters.add(request.getXmWhich());
    }
    return parameters;
  }