Package model

Examples of model.RainOutput


            pstmt = connection.prepareStatement(query);
            pstmt.setInt(1, world_id);
            ResultSet rs = pstmt.executeQuery();

            while (rs.next()) {
                RainOutput tempRainOutput = new RainOutput();
                tempRainOutput.setWorldID(rs.getInt("world_id"));
                tempRainOutput.setDayIndex(rs.getInt("day_index"));
                tempRainOutput.setOutput(rs.getFloat("output"));
                returnSortedRainOutputList.add(tempRainOutput);
            }

            rs.close();
            pstmt.close();
View Full Code Here

TOP

Related Classes of model.RainOutput

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.