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