diff options
author | Tarun Gupta <tarun1995gupta@gmail.com> | 2015-06-03 12:17:53 (GMT) |
---|---|---|
committer | Tarun Gupta <tarun1995gupta@gmail.com> | 2015-06-14 13:30:22 (GMT) |
commit | afaf2c8e7a9276bc4a61337357092c49e6817159 (patch) | |
tree | 143b1551c29c4158403c956e175861de71bbf0d8 /src/com/isode/stroke/elements | |
parent | cae0635287b9ccf0d846dffd550440b347bd6721 (diff) | |
download | stroke-afaf2c8e7a9276bc4a61337357092c49e6817159.zip stroke-afaf2c8e7a9276bc4a61337357092c49e6817159.tar.bz2 |
Add VCardUpdate Element.
Adds the VCardUpdate Element, VCardUpdate Parser, VCardUpdateSerializer.
License:
This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
Test-Information:
Tests ported for VCardUpdateParser and VCardUpdateSerializer, which passes.
Change-Id: I9baf8f6787567c8766b52dbe70105e8870c02b2d
Diffstat (limited to 'src/com/isode/stroke/elements')
-rw-r--r-- | src/com/isode/stroke/elements/VCardUpdate.java | 35 |
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 |