Class ConversationId
- java.lang.Object
-
- microsoft.exchange.webservices.data.property.complex.ComplexProperty
-
- microsoft.exchange.webservices.data.property.complex.ServiceId
-
- microsoft.exchange.webservices.data.property.complex.ConversationId
-
- All Implemented Interfaces:
ISelfValidate,ComplexFunctionDelegate<EwsServiceXmlReader>
public class ConversationId extends ServiceId
Represents the Id of a Conversation.
-
-
Constructor Summary
Constructors Constructor Description ConversationId()Initializes a new instance of the ConversationId class.ConversationId(String uniqueId)Initializes a new instance of ConversationId.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConversationIdgetConversationIdFromUniqueId(String uniqueId)Defines an implicit conversion between string and ConversationId.static StringgetStringFromConversationId(ConversationId conversationId)Defines an implicit conversion between ConversationId and String.StringgetXmlElementName()Gets the name of the XML element.StringtoString()Gets a string representation of the Conversation Id.-
Methods inherited from class microsoft.exchange.webservices.data.property.complex.ServiceId
assign, equals, getChangeKey, getUniqueId, hashCode, isValid, readAttributesFromXml, sameIdAndChangeKey, setChangeKey, setUniqueId, 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
-
-
-
-
Constructor Detail
-
ConversationId
public ConversationId()
Initializes a new instance of the ConversationId class.
-
ConversationId
public ConversationId(String uniqueId) throws Exception
Initializes a new instance of ConversationId.- Parameters:
uniqueId- the unique id- Throws:
Exception- the exception
-
-
Method Detail
-
getConversationIdFromUniqueId
public static ConversationId getConversationIdFromUniqueId(String uniqueId) throws Exception
Defines an implicit conversion between string and ConversationId.- Parameters:
uniqueId- the unique id- Returns:
- A ConversationId initialized with the specified unique Id.
- Throws:
Exception- the exception
-
getStringFromConversationId
public static 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
public String getXmlElementName()
Gets the name of the XML element.- Specified by:
getXmlElementNamein classServiceId- Returns:
- XML element name.
-
-