summaryrefslogtreecommitdiffstats
blob: a4d0ea77fa33f3d4c6887f069904ac7bdf9b4b6b (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
47
/*
* 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.elements.Payload;

public class PubSubAffiliation extends Payload {
public enum Type
{
	None,
	Member,
	Outcast,
	Owner,
	Publisher,
	PublishOnly
}

public PubSubAffiliation() {
}

public String getNode() {
	return node_;
}

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

public Type getType() {
	return type_;
}

public void setType(Type type) {
	type_ = type;
}

private String node_ = "";
private Type type_;

}