|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.property.complex.ComplexProperty
microsoft.exchange.webservices.data.property.complex.ServiceId
public abstract class ServiceId
Represents the Id of an Exchange object.
| Constructor Summary | |
|---|---|
ServiceId()
Initializes a new instance. |
|
ServiceId(String uniqueId)
Initializes a new instance. |
|
| Method Summary | |
|---|---|
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. |
| 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 |
|---|
public ServiceId()
public ServiceId(String uniqueId)
throws Exception
uniqueId - The unique id.
Exception - the exception| Method Detail |
|---|
public void readAttributesFromXml(EwsServiceXmlReader reader)
throws Exception
readAttributesFromXml in class ComplexPropertyreader - The reader.
Exception - the exception
public 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)
equals in class Objectobj - The object to compare with the current instance
public int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||