|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmicrosoft.exchange.webservices.data.ComplexProperty
microsoft.exchange.webservices.data.ServiceId
public abstract class ServiceId
Represents the Id of an Exchange object.
Constructor Summary | |
---|---|
protected |
ServiceId()
* Initializes a new instance. |
protected |
ServiceId(java.lang.String uniqueId)
* Initializes a new instance. |
Method Summary | |
---|---|
protected void |
assign(ServiceId source)
Assigns from existing id. |
boolean |
equals(java.lang.Object obj)
Determines whether the specified instance is equal to the current instance. |
java.lang.String |
getChangeKey()
Gets the change key associated with the Exchange object. |
java.lang.String |
getUniqueId()
Gets the unique Id of the Exchange object. |
protected abstract java.lang.String |
getXmlElementName()
Gets the name of the XML element. |
int |
hashCode()
Serves as a hash function for a particular type. |
protected boolean |
isValid()
True if this instance is valid, false otherthise. |
protected void |
readAttributesFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
* Read attributes from XML. |
boolean |
sameIdAndChangeKey(ServiceId other)
* Determines whether two ServiceId instances are equal (including ChangeKeys). |
protected void |
setChangeKey(java.lang.String changeKey)
Sets the change key associated with the Exchange object. |
protected void |
setUniqueId(java.lang.String uniqueId)
Sets the unique Id of the Exchange object. |
java.lang.String |
toString()
* Returns a string that represents the current instance. |
protected void |
writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
* Writes attributes to XML. |
protected void |
writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
* Writes to XML. |
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 |
---|
protected ServiceId()
protected ServiceId(java.lang.String uniqueId) throws java.lang.Exception
uniqueId
- The unique id.
java.lang.Exception
- the exceptionMethod Detail |
---|
protected void readAttributesFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader) throws java.lang.Exception
readAttributesFromXml
in class ComplexProperty
reader
- The reader.
java.lang.Exception
- the exceptionprotected void writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
writeAttributesToXml
in class ComplexProperty
writer
- The writer.
ServiceXmlSerializationException
- the service xml serialization exceptionprotected abstract java.lang.String getXmlElementName()
protected void writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer) throws java.lang.Exception
writer
- The writer.
java.lang.Exception
- the exceptionprotected void assign(ServiceId source)
source
- The source.protected boolean isValid()
public java.lang.String getUniqueId()
protected void setUniqueId(java.lang.String uniqueId)
uniqueId
- unique Id of the Exchange object.public java.lang.String getChangeKey()
protected void setChangeKey(java.lang.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(java.lang.Object obj)
equals
in class java.lang.Object
obj
- The object to compare with the current instance
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |