summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/isode/stroke/elements/PubSubRetract.java')
-rw-r--r--src/com/isode/stroke/elements/PubSubRetract.java52
1 files changed, 52 insertions, 0 deletions
diff --git a/src/com/isode/stroke/elements/PubSubRetract.java b/src/com/isode/stroke/elements/PubSubRetract.java
new file mode 100644
index 0000000..d8349ea
--- /dev/null
+++ b/src/com/isode/stroke/elements/PubSubRetract.java
@@ -0,0 +1,52 @@
+/*
+* 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 java.util.ArrayList;
+import com.isode.stroke.elements.PubSubPayload;
+
+public class PubSubRetract extends PubSubPayload {
+
+public PubSubRetract() {
+}
+
+public ArrayList<PubSubItem> getItems() {
+ return items_;
+}
+
+public void setItems(ArrayList<PubSubItem> items) {
+ items_ = items;
+}
+
+public void addItem(PubSubItem value) {
+ items_.add(value);
+}
+
+public String getNode() {
+ return node_;
+}
+
+public void setNode(String node) {
+ node_ = node;
+}
+
+public boolean isNotify() {
+ return notify_;
+}
+
+public void setNotify(boolean notify) {
+ notify_ = notify;
+}
+
+ArrayList<PubSubItem> items_ = new ArrayList<PubSubItem>();
+String node_;
+boolean notify_;
+
+}