summaryrefslogtreecommitdiffstats
blob: bcb3227b762e85d06b31fc7e11b436eaa04fd1ba (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
* Copyright (c) 2014, Isode Limited, London, England.
* All rights reserved.
*/
/*
* Copyright (c) 2014, Remko Tronçon.
* All rights reserved.
*/

package com.isode.stroke.elements;

import com.isode.stroke.jid.JID;
import com.isode.stroke.elements.Payload;

public class PubSubOwnerSubscription extends Payload {
public enum SubscriptionType
{
	None,
	Pending,
	Subscribed,
	Unconfigured
}

public PubSubOwnerSubscription() {
}

public SubscriptionType getSubscription() {
	return subscription_;
}

public void setSubscription(SubscriptionType subscription) {
	subscription_ = subscription;
}

public JID getJID() {
	return jid_;
}

public void setJID(JID jid) {
	jid_ = jid;
}

private SubscriptionType subscription_;
private JID jid_;

}