01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/sam/tags/sakai_2-4-1/samigo-app/src/java/org/sakaiproject/tool/assessment/ui/model/PagingModel.java $
03: * $Id: PagingModel.java 15083 2006-09-20 20:03:55Z lydial@stanford.edu $
04: ***********************************************************************************
05: *
06: * Copyright (c) 2004, 2005, 2006 The Sakai Foundation.
07: *
08: * Licensed under the Educational Community License, Version 1.0 (the"License");
09: * you may not use this file except in compliance with the License.
10: * You may obtain a copy of the License at
11: *
12: * http://www.opensource.org/licenses/ecl1.php
13: *
14: * Unless required by applicable law or agreed to in writing, software
15: * distributed under the License is distributed on an "AS IS" BASIS,
16: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17: * See the License for the specific language governing permissions and
18: * limitations under the License.
19: *
20: **********************************************************************************/package org.sakaiproject.tool.assessment.ui.model;
21:
22: import java.io.Serializable;
23:
24: public class PagingModel implements Serializable {
25: /**
26: *
27: */
28: private static final long serialVersionUID = -8166345520085915986L;
29: private int firstItem;
30: private int lastItem;
31: private int numItems;
32: private int totalItems;
33:
34: public int getFirstItem() {
35: return firstItem;
36: }
37:
38: public void setFirstItem(int firstItem) {
39: this .firstItem = firstItem;
40: }
41:
42: public int getLastItem() {
43: return lastItem;
44: }
45:
46: public void setLastItem(int lastItem) {
47: this .lastItem = lastItem;
48: }
49:
50: public int getNumItems() {
51: return numItems;
52: }
53:
54: public void setNumItems(int numItems) {
55: this .numItems = numItems;
56: }
57:
58: public int getTotalItems() {
59: return totalItems;
60: }
61:
62: public void setTotalItems(int totalItems) {
63: this.totalItems = totalItems;
64: }
65: }
|