summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/isode/stroke/elements/PubSubOwnerAffiliation.java')
-rw-r--r--src/com/isode/stroke/elements/PubSubOwnerAffiliation.java48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/com/isode/stroke/elements/PubSubOwnerAffiliation.java b/src/com/isode/stroke/elements/PubSubOwnerAffiliation.java
new file mode 100644
index 0000000..d08bd3d
--- /dev/null
+++ b/src/com/isode/stroke/elements/PubSubOwnerAffiliation.java
@@ -0,0 +1,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;
+}
+
+JID jid_;
+Type type_;
+
+}