blob: 751b734a9350e53cb73191a855cd4e7151d381ea (
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
48
|
/*
* 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 PubSubOwnerAffiliation extends Payload {
public enum Type
{
None,
Member,
Outcast,
Owner,
Publisher,
PublishOnly
}
public PubSubOwnerAffiliation() {
}
public JID getJID() {
return jid_;
}
public void setJID(JID jid) {
jid_ = jid;
}
public Type getType() {
return type_;
}
public void setType(Type type) {
type_ = type;
}
private JID jid_;
private Type type_;
}
|