001 /** 002 * Copyright 2005-2012 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016 package org.kuali.rice.kew.stats; 017 018 import java.util.List; 019 020 /** 021 * A snapshot of statistics for the KEW application at a particular 022 * point in time. 023 * 024 * @author Kuali Rice Team (rice.collab@kuali.org) 025 */ 026 public class Stats { 027 028 //set defaults 029 String numUsers = "0"; 030 String numActionItems = "0"; 031 String numDocTypes = "0"; 032 String canceledNumber = "0"; 033 String disapprovedNumber = "0"; 034 String enrouteNumber = "0"; 035 String exceptionNumber = "0"; 036 String finalNumber = "0"; 037 String initiatedNumber = "0"; 038 String processedNumber = "0"; 039 String savedNumber = "0"; 040 List numInitiatedDocsByDocType; 041 042 public String getCanceledNumber() { 043 return canceledNumber; 044 } 045 046 public void setCanceledNumber(String canceledNumber) { 047 this.canceledNumber = canceledNumber; 048 } 049 050 public String getDisapprovedNumber() { 051 return disapprovedNumber; 052 } 053 054 public void setDisapprovedNumber(String disapprovedNumber) { 055 this.disapprovedNumber = disapprovedNumber; 056 } 057 058 public String getEnrouteNumber() { 059 return enrouteNumber; 060 } 061 062 public void setEnrouteNumber(String enrouteNumber) { 063 this.enrouteNumber = enrouteNumber; 064 } 065 066 public String getExceptionNumber() { 067 return exceptionNumber; 068 } 069 070 public void setExceptionNumber(String exceptionNumber) { 071 this.exceptionNumber = exceptionNumber; 072 } 073 074 public String getFinalNumber() { 075 return finalNumber; 076 } 077 078 public void setFinalNumber(String finalNumber) { 079 this.finalNumber = finalNumber; 080 } 081 082 public String getInitiatedNumber() { 083 return initiatedNumber; 084 } 085 086 public void setInitiatedNumber(String initiatedNumber) { 087 this.initiatedNumber = initiatedNumber; 088 } 089 090 public String getNumActionItems() { 091 return numActionItems; 092 } 093 094 public void setNumActionItems(String numActionItems) { 095 this.numActionItems = numActionItems; 096 } 097 098 public String getNumDocTypes() { 099 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 }