public abstract class ServiceId extends ComplexProperty
| Constructor and Description |
|---|
ServiceId()
Initializes a new instance.
|
ServiceId(String uniqueId)
Initializes a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
assign(ServiceId source)
Assigns from existing id.
|
boolean |
equals(Object obj)
Determines whether the specified instance is equal to the current
instance.
|
String |
getChangeKey()
Gets the change key associated with the Exchange object.
|
String |
getUniqueId()
Gets the unique Id of the Exchange object.
|
abstract String |
getXmlElementName()
Gets the name of the XML element.
|
int |
hashCode()
Serves as a hash function for a particular type.
|
boolean |
isValid()
True if this instance is valid, false otherthise.
|
void |
readAttributesFromXml(EwsServiceXmlReader reader)
Read attribute from XML.
|
boolean |
sameIdAndChangeKey(ServiceId other)
Determines whether two ServiceId instances are equal (including
ChangeKeys).
|
void |
setChangeKey(String changeKey)
Sets the change key associated with the Exchange object.
|
void |
setUniqueId(String uniqueId)
Sets the unique Id of the Exchange object.
|
String |
toString()
Returns a string that represents the current instance.
|
void |
writeAttributesToXml(EwsServiceXmlWriter writer)
Writes attribute to XML.
|
void |
writeToXml(EwsServiceXmlWriter writer)
Writes to XML.
|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeElementsToXml, writeToXml, writeToXmlpublic ServiceId()
public void readAttributesFromXml(EwsServiceXmlReader reader) throws Exception
readAttributesFromXml in class ComplexPropertyreader - The reader.Exception - the exceptionpublic void writeAttributesToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
writeAttributesToXml in class ComplexPropertywriter - The writer.ServiceXmlSerializationException - the service xml serialization exceptionpublic abstract String getXmlElementName()
public void writeToXml(EwsServiceXmlWriter writer) throws Exception
writer - The writer.Exception - the exceptionpublic void assign(ServiceId source)
source - The source.public boolean isValid()
public String getUniqueId()
public void setUniqueId(String uniqueId)
uniqueId - unique Id of the Exchange object.public String getChangeKey()
public void setChangeKey(String changeKey)
changeKey - change key associated with the Exchange object.public boolean sameIdAndChangeKey(ServiceId other)
other - The ServiceId to compare with the current ServiceId.public boolean equals(Object obj)
public int hashCode()
Copyright © 2012–2015 Microsoft. All rights reserved.