@Override
  public void configure(TestElement element) {

    super.configure(element);

    if (!(element instanceof AbstractNewDirectOrder)) return;

    AbstractNewDirectOrder sampler = (AbstractNewDirectOrder) element;

    requestQueue.setText(sampler.getRequestQueue());
    responseQueue.setText(sampler.getResponseQueue());

    stockCode.setText(sampler.getStockCode());
    orderQty.setText(sampler.getOrderQty());
    orderPrice.setText(sampler.getOrderPrice());
    board.setText(sampler.getBoard());
    investorType.setText(sampler.getInvestorType());
    timeInForce.setText(sampler.getTimeInForce());
    clientCode.setText(sampler.getClientCode());
    buySell.setText(sampler.getBuySell());
    orderPeriod.setText(sampler.getOrderPeriod());
  }