microsoft.exchange.webservices.data.property.complex
Class ItemId

java.lang.Object
  extended by microsoft.exchange.webservices.data.property.complex.ComplexProperty
      extended by microsoft.exchange.webservices.data.property.complex.ServiceId
          extended by microsoft.exchange.webservices.data.property.complex.ItemId
All Implemented Interfaces:
ISelfValidate, ComplexFunctionDelegate<EwsServiceXmlReader>
Direct Known Subclasses:
AppointmentOccurrenceId, RecurringAppointmentMasterId

public class ItemId
extends ServiceId

Represents the Id of an Exchange item.


Constructor Summary
ItemId()
          Initializes a new instance.
ItemId(String uniqueId)
          Initializes a new instance of ItemId.
 
Method Summary
static ItemId getItemIdFromString(String uniqueId)
          Defines an implicit conversion between string and ItemId.
 String getXmlElementName()
          Gets the name of the XML element.
 
Methods inherited from class microsoft.exchange.webservices.data.property.complex.ServiceId
assign, equals, getChangeKey, getUniqueId, hashCode, isValid, readAttributesFromXml, sameIdAndChangeKey, setChangeKey, setUniqueId, toString, writeAttributesToXml, writeToXml
 
Methods inherited from class microsoft.exchange.webservices.data.property.complex.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

public ItemId()
Initializes a new instance.


ItemId

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

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

getItemIdFromString

public static ItemId getItemIdFromString(String uniqueId)
                                  throws 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:
Exception - the exception

getXmlElementName

public String getXmlElementName()
Gets the name of the XML element.

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


Copyright © 2012–2015 Microsoft. All rights reserved.