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