View Javadoc

1   /*
2    * Copyright 2005-2007 The Kuali Foundation
3    * 
4    * 
5    * Licensed under the Educational Community License, Version 2.0 (the "License");
6    * you may not use this file except in compliance with the License.
7    * You may obtain a copy of the License at
8    * 
9    * http://www.opensource.org/licenses/ecl2.php
10   * 
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the License for the specific language governing permissions and
15   * limitations under the License.
16   */
17  package org.kuali.rice.kew.stats;
18  
19  import java.util.List;
20  
21  /**
22   * A snapshot of statistics for the KEW application at a particular
23   * point in time.
24   *
25   * @author Kuali Rice Team (rice.collab@kuali.org)
26   */
27  public class Stats {
28  
29  	//set defaults
30  	String numUsers = "0";
31  	String numActionItems = "0";
32  	String numDocTypes = "0";
33  	String approvedNumber = "0";
34  	String canceledNumber = "0";
35  	String disapprovedNumber = "0";
36  	String enrouteNumber = "0";
37  	String exceptionNumber = "0";
38  	String finalNumber = "0";
39  	String initiatedNumber = "0";
40  	String processedNumber = "0";
41  	String savedNumber = "0";    
42      List numInitiatedDocsByDocType;
43      
44      public String getApprovedNumber() {
45          return approvedNumber;
46      }
47   
48      public void setApprovedNumber(String approvedNumber) {
49          this.approvedNumber = approvedNumber;
50      }
51   
52      public String getCanceledNumber() {
53          return canceledNumber;
54      }
55  
56      public void setCanceledNumber(String canceledNumber) {
57          this.canceledNumber = canceledNumber;
58      }
59  
60      public String getDisapprovedNumber() {
61          return disapprovedNumber;
62      }
63  
64      public void setDisapprovedNumber(String disapprovedNumber) {
65          this.disapprovedNumber = disapprovedNumber;
66      }
67   
68      public String getEnrouteNumber() {
69          return enrouteNumber;
70      }
71   
72      public void setEnrouteNumber(String enrouteNumber) {
73          this.enrouteNumber = enrouteNumber;
74      }
75  
76      public String getExceptionNumber() {
77          return exceptionNumber;
78      }
79  
80      public void setExceptionNumber(String exceptionNumber) {
81          this.exceptionNumber = exceptionNumber;
82      }
83  
84      public String getFinalNumber() {
85          return finalNumber;
86      }
87   
88      public void setFinalNumber(String finalNumber) {
89          this.finalNumber = finalNumber;
90      }
91  
92      public String getInitiatedNumber() {
93          return initiatedNumber;
94      }
95   
96      public void setInitiatedNumber(String initiatedNumber) {
97          this.initiatedNumber = initiatedNumber;
98      }
99  
100     public String getNumActionItems() {
101         return numActionItems;
102     }
103  
104     public void setNumActionItems(String numActionItems) {
105         this.numActionItems = numActionItems;
106     }
107 
108     public String getNumDocTypes() {
109         return numDocTypes;
110     }
111  
112     public void setNumDocTypes(String numDocTypes) {
113         this.numDocTypes = numDocTypes;
114     }
115 
116     public String getNumUsers() {
117         return numUsers;
118     }
119 
120     public void setNumUsers(String numUsers) {
121         this.numUsers = numUsers;
122     }
123 
124     public String getProcessedNumber() {
125         return processedNumber;
126     }
127  
128     public void setProcessedNumber(String processedNumber) {
129         this.processedNumber = processedNumber;
130     }
131  
132     public String getSavedNumber() {
133         return savedNumber;
134     }
135 
136     public void setSavedNumber(String savedNumber) {
137         this.savedNumber = savedNumber;
138     }
139 
140     public List getNumInitiatedDocsByDocType() {
141         return numInitiatedDocsByDocType;
142     }
143 
144     public void setNumInitiatedDocsByDocType(List numInitiatedDocsByDocType) {
145         this.numInitiatedDocsByDocType = numInitiatedDocsByDocType;
146     }
147 
148 
149 }