Class AppointmentOccurrenceId
- java.lang.Object
-
- microsoft.exchange.webservices.data.property.complex.ComplexProperty
-
- microsoft.exchange.webservices.data.property.complex.ServiceId
-
- microsoft.exchange.webservices.data.property.complex.ItemId
-
- microsoft.exchange.webservices.data.property.complex.AppointmentOccurrenceId
-
- All Implemented Interfaces:
ISelfValidate,ComplexFunctionDelegate<EwsServiceXmlReader>
public final class AppointmentOccurrenceId extends ItemId
Represents the Id of an occurrence of a recurring appointment.
-
-
Constructor Summary
Constructors Constructor Description AppointmentOccurrenceId(String recurringMasterUniqueId, int occurrenceIndex)Initializes a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetOccurrenceIndex()Gets the index of the occurrence.StringgetXmlElementName()Gets the name of the XML element.voidsetOccurrenceIndex(int occurrenceIndex)Sets the occurrence index.voidwriteAttributesToXml(EwsServiceXmlWriter writer)Gets the name of the XML element.-
Methods inherited from class microsoft.exchange.webservices.data.property.complex.ItemId
getItemIdFromString
-
Methods inherited from class microsoft.exchange.webservices.data.property.complex.ServiceId
assign, equals, getChangeKey, getUniqueId, hashCode, isValid, readAttributesFromXml, sameIdAndChangeKey, setChangeKey, setUniqueId, toString, 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
-
AppointmentOccurrenceId
public AppointmentOccurrenceId(String recurringMasterUniqueId, int occurrenceIndex) throws Exception
Initializes a new instance.- Parameters:
recurringMasterUniqueId- the recurring master unique idoccurrenceIndex- the occurrence index- Throws:
Exception- the exception
-
-
Method Detail
-
getOccurrenceIndex
public int getOccurrenceIndex()
Gets the index of the occurrence. Note that the occurrence index starts at one not zero.- Returns:
- the occurrence index
-
setOccurrenceIndex
public void setOccurrenceIndex(int occurrenceIndex)
Sets the occurrence index.- Parameters:
occurrenceIndex- the new occurrence index
-
getXmlElementName
public String getXmlElementName()
Gets the name of the XML element.- Overrides:
getXmlElementNamein classItemId- Returns:
- XML element name
-
writeAttributesToXml
public void writeAttributesToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
Gets the name of the XML element.- Overrides:
writeAttributesToXmlin classServiceId- Parameters:
writer- the writer- Throws:
ServiceXmlSerializationException- the service xml serialization exception
-
-