View Javadoc

1   /**
2    * Copyright 2010-2012 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.common.jdbc.context;
17  
18  public class ProgressContext {
19  
20  	long totalCount;
21  	int divisor;
22  	int min;
23  	boolean showProgress;
24  	long progress;
25  
26  	public long getTotalCount() {
27  		return totalCount;
28  	}
29  
30  	public void setTotalCount(long totalCount) {
31  		this.totalCount = totalCount;
32  	}
33  
34  	public int getDivisor() {
35  		return divisor;
36  	}
37  
38  	public void setDivisor(int divisor) {
39  		this.divisor = divisor;
40  	}
41  
42  	public int getMin() {
43  		return min;
44  	}
45  
46  	public void setMin(int min) {
47  		this.min = min;
48  	}
49  
50  	public boolean isShowProgress() {
51  		return showProgress;
52  	}
53  
54  	public void setShowProgress(boolean showProgress) {
55  		this.showProgress = showProgress;
56  	}
57  
58  	public long getProgress() {
59  		return progress;
60  	}
61  
62  	public void setProgress(long progress) {
63  		this.progress = progress;
64  	}
65  
66  }