microsoft.exchange.webservices.data
Class ConversationId

java.lang.Object
  extended by microsoft.exchange.webservices.data.ComplexProperty
      extended by microsoft.exchange.webservices.data.ServiceId
          extended by microsoft.exchange.webservices.data.ConversationId

public class ConversationId
extends ServiceId

Represents the Id of a Conversation.


Constructor Summary
ConversationId(java.lang.String uniqueId)
          Initializes a new instance of ConversationId.
 
Method Summary
static ConversationId getConversationIdFromUniqueId(java.lang.String uniqueId)
          Defines an implicit conversion between string and ConversationId.
static java.lang.String getStringFromConversationId(ConversationId conversationId)
          Defines an implicit conversion between ConversationId and String.
protected  java.lang.String getXmlElementName()
          Gets the name of the XML element.
 java.lang.String toString()
          Gets a string representation of the Conversation Id.
 
Methods inherited from class microsoft.exchange.webservices.data.ServiceId
assign, equals, getChangeKey, getUniqueId, hashCode, isValid, readAttributesFromXml, sameIdAndChangeKey, setChangeKey, setUniqueId, 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

ConversationId

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

Parameters:
uniqueId - the unique id
Throws:
java.lang.Exception - the exception
Method Detail

getConversationIdFromUniqueId

public static ConversationId getConversationIdFromUniqueId(java.lang.String uniqueId)
                                                    throws java.lang.Exception
Defines an implicit conversion between string and ConversationId.

Parameters:
uniqueId - the unique id
Returns:
A ConversationId initialized with the specified unique Id.
Throws:
java.lang.Exception - the exception

getStringFromConversationId

public static java.lang.String getStringFromConversationId(ConversationId conversationId)
                                                    throws ArgumentNullException
Defines an implicit conversion between ConversationId and String.

Parameters:
conversationId - the conversation id
Returns:
A ConversationId initialized with the specified unique Id.
Throws:
ArgumentNullException - the argument null exception

getXmlElementName

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

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

toString

public java.lang.String toString()
Gets a string representation of the Conversation Id.

Overrides:
toString in class ServiceId
Returns:
The string representation of the conversation id.