summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/isode/stroke/elements/PubSubDefault.java')
-rw-r--r--src/com/isode/stroke/elements/PubSubDefault.java44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/com/isode/stroke/elements/PubSubDefault.java b/src/com/isode/stroke/elements/PubSubDefault.java
new file mode 100644
index 0000000..f5b075a
--- /dev/null
+++ b/src/com/isode/stroke/elements/PubSubDefault.java
@@ -0,0 +1,44 @@
+/*
+* 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.PubSubPayload;
+
+public class PubSubDefault extends PubSubPayload {
+public enum Type
+{
+ None,
+ Collection,
+ Leaf
+}
+
+public PubSubDefault() {
+}
+
+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_;
+
+}