2 * UserObjectWapper.java created on 2010-7-28 上午08:48:35 by bwl (Liu Daoru)
7 import java
.io
.Serializable
;
11 * 对User对象列表进行的包装,以支持cursor相关信息传递
14 public class UserWapper
implements Serializable
{
16 private static final long serialVersionUID
= -3119107701303920284L;
21 private List
<User
> users
;
26 private long previousCursor
;
31 private long nextCursor
;
33 public UserWapper(List
<User
> users
, long previousCursor
, long nextCursor
) {
35 this.previousCursor
= previousCursor
;
36 this.nextCursor
= nextCursor
;
39 public List
<User
> getUsers() {
43 public void setUsers(List
<User
> users
) {
47 public long getPreviousCursor() {
48 return previousCursor
;
51 public void setPreviousCursor(long previousCursor
) {
52 this.previousCursor
= previousCursor
;
55 public long getNextCursor() {
59 public void setNextCursor(long nextCursor
) {
60 this.nextCursor
= nextCursor
;