public final class NumberedRecurrenceRange extends RecurrenceRange
Constructor and Description |
---|
NumberedRecurrenceRange()
Initializes a new instance.
|
NumberedRecurrenceRange(Date startDate,
Integer numberOfOccurrences)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getNumberOfOccurrences()
Gets the number of occurrences.
|
String |
getXmlElementName()
Gets the name of the XML element.
|
void |
setNumberOfOccurrences(Integer value)
sets the number of occurrences.
|
void |
setupRecurrence(Recurrence recurrence)
Setups the recurrence.
|
boolean |
tryReadElementFromXml(EwsServiceXmlReader reader)
Tries to read element from XML.
|
void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes the elements to XML..
|
changed, getRecurrence, getStartDate, setRecurrence, setStartDate
addOnChangeEvent, canSetFieldValue, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml
public NumberedRecurrenceRange()
public NumberedRecurrenceRange(Date startDate, Integer numberOfOccurrences)
startDate
- the start datenumberOfOccurrences
- the number of occurrencespublic String getXmlElementName()
getXmlElementName
in class RecurrenceRange
public void setupRecurrence(Recurrence recurrence) throws Exception
setupRecurrence
in class RecurrenceRange
recurrence
- the new up recurrenceException
- the exceptionpublic void writeElementsToXml(EwsServiceXmlWriter writer) throws XMLStreamException, ServiceXmlSerializationException
writeElementsToXml
in class RecurrenceRange
writer
- the writerXMLStreamException
- the XML stream exceptionServiceXmlSerializationException
- the service xml serialization exceptionpublic boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
tryReadElementFromXml
in class RecurrenceRange
reader
- the readerException
- the exceptionpublic Integer getNumberOfOccurrences()
public void setNumberOfOccurrences(Integer value)
value
- the new number of occurrencesCopyright © 2012–2015 Microsoft. All rights reserved.