Commit 77f487f5 authored by Mickaël Guessant's avatar Mickaël Guessant

EWS: Improve javadoc and make ItemId serializable

git-svn-id: https://svn.code.sf.net/p/davmail/code/trunk@2268 3d1905a2-6b24-0410-a738-b14d5a86fcbd
parent 245e66f7
......@@ -19,12 +19,13 @@
package davmail.exchange.ews;
import java.io.IOException;
import java.io.Serializable;
import java.io.Writer;
/**
* Item id.
*/
public class ItemId {
public class ItemId implements Serializable {
protected final String name;
protected final String id;
protected final String changeKey;
......@@ -50,6 +51,7 @@ public class ItemId {
/**
* Build Item id from response item.
*
* @param name item name
* @param item response item
*/
public ItemId(String name, EWSMethod.Item item) {
......@@ -61,6 +63,7 @@ public class ItemId {
/**
* Build Item id object from item id.
*
* @param name item name
* @param itemId item id
*/
public ItemId(String name, String itemId) {
......@@ -72,7 +75,9 @@ public class ItemId {
/**
* Build Item id object from item id and change key.
*
* @param name item name
* @param itemId item id
* @param changeKey change key
*/
public ItemId(String name, String itemId, String changeKey) {
this.name = name;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment