add weibo src
[freespace.git] / src / weibo4android / UserWapper.java
blob06343659fe6d2a06609e325eff9564c4fc370fd9
1 /*
2 * UserObjectWapper.java created on 2010-7-28 上午08:48:35 by bwl (Liu Daoru)
3 */
5 package weibo4android;
7 import java.io.Serializable;
8 import java.util.List;
10 /**
11 * 对User对象列表进行的包装,以支持cursor相关信息传递
12 * @author sinaWeibo
14 public class UserWapper implements Serializable {
16 private static final long serialVersionUID = -3119107701303920284L;
18 /**
19 * 用户对象列表
21 private List<User> users;
23 /**
24 * 向前翻页的cursor
26 private long previousCursor;
28 /**
29 * 向后翻页的cursor
31 private long nextCursor;
33 public UserWapper(List<User> users, long previousCursor, long nextCursor) {
34 this.users = users;
35 this.previousCursor = previousCursor;
36 this.nextCursor = nextCursor;
39 public List<User> getUsers() {
40 return users;
43 public void setUsers(List<User> users) {
44 this.users = users;
47 public long getPreviousCursor() {
48 return previousCursor;
51 public void setPreviousCursor(long previousCursor) {
52 this.previousCursor = previousCursor;
55 public long getNextCursor() {
56 return nextCursor;
59 public void setNextCursor(long nextCursor) {
60 this.nextCursor = nextCursor;