blob: 5ee3798462c6507ddc7fb79b36b20a801a29e194 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
package nu.xss.jpa.query;
public class Pagination {
private int offset = 0;
private int count = 0;
public Pagination(int count) {
this.setCount(count);
}
public Pagination(int offset, int count) {
this.setOffset(offset);
this.setCount(count);
}
public int getOffset() {
return offset;
}
public void setOffset(int offset) {
this.offset = offset;
}
public int getCount() {
return count;
}
public void setCount(int count) {
this.count = count;
}
}
|