// Loop through the rows and print some of the column values
OrderDetailsRow[] rows = (OrderDetailsRow[]) orderDetailsHolder.value; // Print out some labels System.out.println("Customer's Order Details listed below:"); System.out.println("Order# " + "Order Status " + "Total Dollars"); // Now print out all the rows for (int j = 0; j < rows.length; j++) { OrderDetailsRow thisRow = rows[j]; System.out.println(thisRow.getOrderNum( ) + thisRow.getOrderStatus( ) + thisRow.getTotalDollars( )); } |