blob: c458fe67b69dc453eb33c7aeb72e6a9ce421ff27 (
plain)
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
|
package org.wordpress.android.models;
import java.io.Serializable;
/**
* Simple POJO to store a pair of ids: a remoteBlogId + a genericId.
* Could be used to identify a comment (remoteBlogId + commentId) or a post (remoteBlogId + postId)
*/
public class BlogPairId implements Serializable {
private long mId;
private long mRemoteBlogId;
public BlogPairId(long remoteBlogId, long id) {
mRemoteBlogId = remoteBlogId;
mId = id;
}
public long getId() {
return mId;
}
public long getRemoteBlogId() {
return mRemoteBlogId;
}
}
|