JobCollectionMaxRecurrence maxRecurrenceInstance = new JobCollectionMaxRecurrence();
quotaInstance.setMaxRecurrence(maxRecurrenceInstance);
Element frequencyElement = XmlUtility.getElementByTagNameNS(maxRecurrenceElement, "http://schemas.microsoft.com/windowsazure", "Frequency");
if (frequencyElement != null) {
JobCollectionRecurrenceFrequency frequencyInstance;
frequencyInstance = JobCollectionRecurrenceFrequency.valueOf(frequencyElement.getTextContent());
maxRecurrenceInstance.setFrequency(frequencyInstance);
}
Element intervalElement = XmlUtility.getElementByTagNameNS(maxRecurrenceElement, "http://schemas.microsoft.com/windowsazure", "Interval");