Package org.openfaces.demo.beans.datatable

Examples of org.openfaces.demo.beans.datatable.Tour


                String nights = new String(toursAtributes[2].getBytes(), "utf-8");
                String hotel = new String(toursAtributes[3].getBytes(), "utf-8");
                String food = new String(toursAtributes[4].getBytes(), "utf-8");
                String room = new String(toursAtributes[5].getBytes(), "utf-8");
                String cost = new String(toursAtributes[6].getBytes(), "utf-8");
                tours.add(new Tour(availableHolidays.get(random.nextInt(availableHolidays.size())), new Region(country, region), Integer.parseInt(nights), hotel, food, room, Integer.parseInt(cost)));
                if (!availableRegions.contains(new Region(country, region))) {
                    availableRegions.add(new Region(country, region));
                }
                if (!availableRooms.contains(room)) {
                    availableRooms.add(room);
View Full Code Here

TOP

Related Classes of org.openfaces.demo.beans.datatable.Tour

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.