Class RecurrenceRange
- java.lang.Object
-
- microsoft.exchange.webservices.data.property.complex.ComplexProperty
-
- microsoft.exchange.webservices.data.property.complex.recurrence.range.RecurrenceRange
-
- All Implemented Interfaces:
ISelfValidate,ComplexFunctionDelegate<EwsServiceXmlReader>
- Direct Known Subclasses:
EndDateRecurrenceRange,NoEndRecurrenceRange,NumberedRecurrenceRange
public abstract class RecurrenceRange extends ComplexProperty
Represents recurrence range with start and end dates.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRecurrenceRange()Initializes a new instance.protectedRecurrenceRange(Date startDate)Initializes a new instance.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidchanged()Changes handler.protected RecurrencegetRecurrence()Gets or sets the recurrence.protected DategetStartDate()Gets the start date.abstract StringgetXmlElementName()Gets the name of the XML element.protected voidsetRecurrence(Recurrence value)Sets the recurrence.protected voidsetStartDate(Date value)Sets the start date.voidsetupRecurrence(Recurrence recurrence)Setup the recurrence.booleantryReadElementFromXml(EwsServiceXmlReader reader)Tries to read element from XML.voidwriteElementsToXml(EwsServiceXmlWriter writer)Writes elements to XML..-
Methods inherited from class microsoft.exchange.webservices.data.property.complex.ComplexProperty
addOnChangeEvent, canSetFieldValue, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml
-
-
-
-
Constructor Detail
-
RecurrenceRange
protected RecurrenceRange()
Initializes a new instance.
-
RecurrenceRange
protected RecurrenceRange(Date startDate)
Initializes a new instance.- Parameters:
startDate- the start date
-
-
Method Detail
-
changed
public void changed()
Changes handler.- Overrides:
changedin classComplexProperty
-
setupRecurrence
public void setupRecurrence(Recurrence recurrence) throws Exception
Setup the recurrence.- Parameters:
recurrence- the new up recurrence- Throws:
Exception- the exception
-
writeElementsToXml
public void writeElementsToXml(EwsServiceXmlWriter writer) throws XMLStreamException, ServiceXmlSerializationException
Writes elements to XML..- Overrides:
writeElementsToXmlin classComplexProperty- Parameters:
writer- the writer- Throws:
XMLStreamException- the XML stream exceptionServiceXmlSerializationException- the service xml serialization exception
-
tryReadElementFromXml
public boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
Tries to read element from XML.- Overrides:
tryReadElementFromXmlin classComplexProperty- Parameters:
reader- the reader- Returns:
- True if element was read
- Throws:
Exception- the exception
-
getXmlElementName
public abstract String getXmlElementName()
Gets the name of the XML element.- Returns:
- recurrence
-
getRecurrence
protected Recurrence getRecurrence()
Gets or sets the recurrence.- Returns:
- recurrence
-
setRecurrence
protected void setRecurrence(Recurrence value)
Sets the recurrence.- Parameters:
value- the new recurrence
-
getStartDate
protected Date getStartDate()
Gets the start date.- Returns:
- startDate
-
setStartDate
protected void setStartDate(Date value)
Sets the start date.- Parameters:
value- the new start date
-
-