Package tables

Examples of tables.Orders


    Suppliers suppliers = (Suppliers) pojo.getPojoFromFile(".\\sampledata\\suppliers.xml", Suppliers.class);
    Categories categories = (Categories) pojo.getPojoFromFile(".\\sampledata\\categories.xml", Categories.class);
    Customers customers = (Customers) pojo.getPojoFromFile(".\\sampledata\\customers.xml", Customers.class);
    Employees employees = (Employees) pojo.getPojoFromFile(".\\sampledata\\employees.xml", Employees.class);
    OrderDetails orderdetails = (OrderDetails) pojo.getPojoFromFile(".\\sampledata\\orderdetails_rand_10000.xml", OrderDetails.class);
    Orders orders = (Orders) pojo.getPojoFromFile(".\\sampledata\\orders_rand_10000.xml", Orders.class);
    OrderDetails orderdetails2 = (OrderDetails) pojo.getPojoFromFile(".\\sampledata\\orderdetails_rand_20000.xml", OrderDetails.class);
    Orders orders2 = (Orders) pojo.getPojoFromFile(".\\sampledata\\orders_rand_20000.xml", Orders.class);
    Products products = (Products) pojo.getPojoFromFile(".\\sampledata\\products.xml", Products.class);
   
    System.out.println("Data loaded from files :");
    System.out.println("Shippers : "+shippers.getShipper().length);
    System.out.println("Suppliers : "+suppliers.getSupplier().length);
    System.out.println("Categories : "+categories.getCategory().length);
    System.out.println("Customers : "+customers.getCustomer().length);
    System.out.println("Employees : "+employees.getEmployee().length);
    System.out.println("OrderDetails : "+orderdetails.getOrderdetail().length);
    System.out.println("Orders : "+orders.getOrder().length);
    System.out.println("OrderDetails2 : "+orderdetails2.getOrderdetail().length);
    System.out.println("Orders2 : "+orders2.getOrder().length);
    System.out.println("Products : "+products.getProduct().length);
   
    //join details with order
    joinDetails(orderdetails, orders);
    joinDetails(orderdetails2, orders2);
View Full Code Here

TOP

Related Classes of tables.Orders

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.