microsoft.exchange.webservices.data
Class Recurrence.WeeklyRegenerationPattern

java.lang.Object
  extended by microsoft.exchange.webservices.data.ComplexProperty
      extended by microsoft.exchange.webservices.data.Recurrence
          extended by microsoft.exchange.webservices.data.Recurrence.IntervalPattern
              extended by microsoft.exchange.webservices.data.Recurrence.WeeklyRegenerationPattern
Enclosing class:
Recurrence

public static final class Recurrence.WeeklyRegenerationPattern
extends Recurrence.IntervalPattern

Represents a regeneration pattern, as used with recurring tasks, where each occurrence happens a specified number of weeks after the previous one is completed.


Nested Class Summary
 
Nested classes/interfaces inherited from class microsoft.exchange.webservices.data.Recurrence
Recurrence.DailyPattern, Recurrence.DailyRegenerationPattern, Recurrence.IntervalPattern, Recurrence.MonthlyPattern, Recurrence.MonthlyRegenerationPattern, Recurrence.RelativeMonthlyPattern, Recurrence.RelativeYearlyPattern, Recurrence.WeeklyPattern, Recurrence.WeeklyRegenerationPattern, Recurrence.YearlyPattern, Recurrence.YearlyRegenerationPattern
 
Constructor Summary
Recurrence.WeeklyRegenerationPattern()
          Initializes a new instance of the WeeklyRegenerationPattern class.
Recurrence.WeeklyRegenerationPattern(java.util.Date startDate, int interval)
          Initializes a new instance of the WeeklyRegenerationPattern class.
 
Method Summary
protected  java.lang.String getXmlElementName()
          Gets the name of the XML element.
protected  boolean isRegenerationPattern()
          Gets a value indicating whether this instance is regeneration pattern.
 
Methods inherited from class microsoft.exchange.webservices.data.Recurrence.IntervalPattern
getInterval, internalWritePropertiesToXml, setInterval, tryReadElementFromXml
 
Methods inherited from class microsoft.exchange.webservices.data.Recurrence
getEndDate, getFieldValueOrThrowIfNull, getNumberOfOccurrences, getStartDate, hasEnd, internalValidate, neverEnds, setEndDate, setNumberOfOccurrences, setStartDate, writeElementsToXml
 
Methods inherited from class microsoft.exchange.webservices.data.ComplexProperty
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Recurrence.WeeklyRegenerationPattern

public Recurrence.WeeklyRegenerationPattern()
Initializes a new instance of the WeeklyRegenerationPattern class.


Recurrence.WeeklyRegenerationPattern

public Recurrence.WeeklyRegenerationPattern(java.util.Date startDate,
                                            int interval)
                                     throws ArgumentOutOfRangeException
Initializes a new instance of the WeeklyRegenerationPattern class.

Parameters:
startDate - the start date
interval - the interval
Throws:
ArgumentOutOfRangeException - the argument out of range exception
Method Detail

getXmlElementName

protected java.lang.String getXmlElementName()
Gets the name of the XML element. The name of the XML element.

Specified by:
getXmlElementName in class Recurrence
Returns:
the xml element name

isRegenerationPattern

protected boolean isRegenerationPattern()
Gets a value indicating whether this instance is regeneration pattern. true if this instance is regeneration pattern; otherwise, false.

Overrides:
isRegenerationPattern in class Recurrence
Returns:
true, if is regeneration pattern