public final class AppointmentOccurrenceId extends ItemId
Constructor and Description |
---|
AppointmentOccurrenceId(String recurringMasterUniqueId,
int occurrenceIndex)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
int |
getOccurrenceIndex()
Gets the index of the occurrence.
|
String |
getXmlElementName()
Gets the name of the XML element.
|
void |
setOccurrenceIndex(int occurrenceIndex)
Sets the occurrence index.
|
void |
writeAttributesToXml(EwsServiceXmlWriter writer)
Gets the name of the XML element.
|
getItemIdFromString
assign, equals, getChangeKey, getUniqueId, hashCode, isValid, readAttributesFromXml, sameIdAndChangeKey, setChangeKey, setUniqueId, toString, writeToXml
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeElementsToXml, writeToXml, writeToXml
public AppointmentOccurrenceId(String recurringMasterUniqueId, int occurrenceIndex) throws Exception
recurringMasterUniqueId
- the recurring master unique idoccurrenceIndex
- the occurrence indexException
- the exceptionpublic int getOccurrenceIndex()
public void setOccurrenceIndex(int occurrenceIndex)
occurrenceIndex
- the new occurrence indexpublic String getXmlElementName()
getXmlElementName
in class ItemId
public void writeAttributesToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
writeAttributesToXml
in class ServiceId
writer
- the writerServiceXmlSerializationException
- the service xml serialization exceptionCopyright © 2012–2015 Microsoft. All rights reserved.