OrderTracking orderTracking = (OrderTracking) iterator.next();
TrackingDisplayForm displayForm = new TrackingDisplayForm();
displayForm.setOrderTrackingId(Format.getLong(orderTracking.getOrderTrackingId()));
displayForm.setOrderTrackingCode(resources.getMessage("order.tracking." + orderTracking.getOrderTrackingCode()));
displayForm.setOrderTrackingMessage(orderTracking.getOrderTrackingMessage());
displayForm.setOrderTrackingDatetime(numberFormatter.formatDate(orderTracking.getRecUpdateDatetime()));
displayForm.setOrderTrackingInternal(orderTracking.getOrderTrackingInternal());
vector.add(displayForm);
}
TrackingDisplayForm orderTrackings[] = new TrackingDisplayForm[vector.size()];
vector.copyInto(orderTrackings);