D:\Sam\InterviewsMaterial\SiteWorx\SiteWorxTest\src\java\bo\Calc_StoreUserDigitsInputDataObjectBO.java
 1 /*
 2  * To change this template, choose Tools | Templates
 3  * and open the template in the editor.
 4  */
 5 package bo;
 6 
 7 /**
 8  *
 9  * @author sameldin
10  */
11 import utils.*;
12 import constants.*;
13 import dataobjects.*;
14 import db_adapter.*;
15 
16 public class Calc_StoreUserDigitsInputDataObjectBO 
17 {
18     UserDigitsInputDAO classUserDigitsInputDAO = null;
19     
20     public Calc_StoreUserDigitsInputDataObjectBO()
21     {
22         
23     }
24     /*
25      * 
26      */
27     public Calc_StoreUserDigitsInputDataObjectBO(UserDigitsInputDAO passedUserDigitsInputDAO)
28     {
29         classUserDigitsInputDAO = passedUserDigitsInputDAO;   
30         StoreUserDigitsInputDataObject_BD_Adapter localStoreUserDigitsInputDataObject_BD_Adapter 
31                 = new StoreUserDigitsInputDataObject_BD_Adapter(passedUserDigitsInputDAO);
32     }
33     /*
34      * 
35      */
36     public int getHighestValue()
37     {
38         int value = classUserDigitsInputDAO.getHighestValue();
39         
40         return(value);
41     }
42     /*
43      * 
44      */
45     public int getLowestValue()
46     {
47         int value = classUserDigitsInputDAO.getLowestValue();
48         
49         return(value);
50     }
51     /*
52      * 
53      */
54     public double getAverageValue()
55     {
56         double value = classUserDigitsInputDAO.getAverageValue();
57         
58         return(value);
59     }
60     /*
61      * 
62      */
63     public int getTotalCount()
64     {
65         int value = classUserDigitsInputDAO.getTotalCount();
66         
67         return(value);
68     }
69     /*
70      * 
71      */
72     public double getMedianValue()
73     {
74         double value = classUserDigitsInputDAO.getMedianValue();
75         
76         return(value);
77     }
78     /*
79      * 
80      */
81     public long getSumValue()
82     {
83         long value = classUserDigitsInputDAO.getSumValue();
84         
85         return(value);
86     }
87     
88 }
89