summaryrefslogtreecommitdiffstats
blob: e393bb7446ffe0a23a9a6374b5566ed5a3af380a (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
/*
* 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 java.util.ArrayList;
import com.isode.stroke.elements.PubSubOwnerPayload;

public class PubSubOwnerSubscriptions extends PubSubOwnerPayload {

public PubSubOwnerSubscriptions() {
}

public ArrayList<PubSubOwnerSubscription> getSubscriptions() {
	return subscriptions_;
}

public void setSubscriptions(ArrayList<PubSubOwnerSubscription> subscriptions) {
	subscriptions_ = subscriptions;
}

public void addSubscription(PubSubOwnerSubscription value) {
	subscriptions_.add(value);
}

public String getNode() {
	return node_;
}

public void setNode(String node) {
	node_ = node;
}

private ArrayList<PubSubOwnerSubscription> subscriptions_ = new ArrayList<PubSubOwnerSubscription>();
private String node_ = "";

}