microsoft.exchange.webservices.data
Class ItemId

java.lang.Object
  extended by microsoft.exchange.webservices.data.ComplexProperty
      extended by microsoft.exchange.webservices.data.ServiceId
          extended by microsoft.exchange.webservices.data.ItemId
Direct Known Subclasses:
AppointmentOccurrenceId, RecurringAppointmentMasterId

public class ItemId
extends ServiceId

Represents the Id of an Exchange item.


Constructor Summary
protected ItemId()
          * Initializes a new instance.
  ItemId(java.lang.String uniqueId)
          * Initializes a new instance of ItemId.
 
Method Summary
static ItemId getItemIdFromString(java.lang.String uniqueId)
          * Defines an implicit conversion between string and ItemId.
protected  java.lang.String getXmlElementName()
          Gets the name of the XML element.
 
Methods inherited from class microsoft.exchange.webservices.data.ServiceId
assign, equals, getChangeKey, getUniqueId, hashCode, isValid, readAttributesFromXml, sameIdAndChangeKey, setChangeKey, setUniqueId, toString, writeAttributesToXml, writeToXml
 
Methods inherited from class microsoft.exchange.webservices.data.ComplexProperty
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeElementsToXml, writeToXml, writeToXml
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ItemId

protected ItemId()
* Initializes a new instance.


ItemId

public ItemId(java.lang.String uniqueId)
       throws java.lang.Exception
* Initializes a new instance of ItemId.

Parameters:
uniqueId - The unique Id used to initialize the ItemId.
Throws:
java.lang.Exception - the exception
Method Detail

getItemIdFromString

public static ItemId getItemIdFromString(java.lang.String uniqueId)
                                  throws java.lang.Exception
* Defines an implicit conversion between string and ItemId.

Parameters:
uniqueId - The unique Id to convert to ItemId.
Returns:
An ItemId initialized with the specified unique Id.
Throws:
java.lang.Exception - the exception

getXmlElementName

protected java.lang.String getXmlElementName()
Gets the name of the XML element.

Specified by:
getXmlElementName in class ServiceId
Returns:
XML element name.