summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/isode/stroke/elements/VCardUpdate.java')
-rw-r--r--src/com/isode/stroke/elements/VCardUpdate.java35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/com/isode/stroke/elements/VCardUpdate.java b/src/com/isode/stroke/elements/VCardUpdate.java
new file mode 100644
index 0000000..ef02456
--- /dev/null
+++ b/src/com/isode/stroke/elements/VCardUpdate.java
@@ -0,0 +1,35 @@
+/*
+ * Copyright (c) 2010 Isode Limited.
+ * All rights reserved.
+ * See the COPYING file for more information.
+ */
+/*
+ * Copyright (c) 2015 Tarun Gupta.
+ * Licensed under the simplified BSD license.
+ * See Documentation/Licenses/BSD-simplified.txt for more information.
+ */
+
+package com.isode.stroke.elements;
+
+import com.isode.stroke.elements.Payload;
+
+public class VCardUpdate extends Payload {
+
+ private String photoHash_ = new String();
+
+ public VCardUpdate() {
+ this("");
+ }
+
+ public VCardUpdate(String photoHash) {
+ this.photoHash_ = photoHash;
+ }
+
+ public void setPhotoHash(String photoHash) {
+ photoHash_ = photoHash;
+ }
+
+ public String getPhotoHash() {
+ return photoHash_;
+ }
+} \ No newline at end of file