microsoft.exchange.webservices.data.OccurrenceInfoCollection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of exchange-ws-api Show documentation
Show all versions of exchange-ws-api Show documentation
The source came from http://archive.msdn.microsoft.com/ewsjavaapi
Support for Maven has been added.
/**************************************************************************
* copyright file="OccurrenceInfoCollection.java" company="Microsoft"
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* Defines the OccurrenceInfoCollection.java.
**************************************************************************/
package microsoft.exchange.webservices.data;
/**
* Represents a collection of OccurrenceInfo objects.
*/
@EditorBrowsable(state = EditorBrowsableState.Never)
public final class OccurrenceInfoCollection extends
ComplexPropertyCollection {
/**
* Initializes a new instance of the
* class.
*/
protected OccurrenceInfoCollection() {
}
/**
* Creates the complex property.
*
* @param xmlElementName
* Name of the XML element
* @return OccuranceInfo instance
*/
@Override
protected OccurrenceInfo createComplexProperty(String xmlElementName) {
if (xmlElementName.equals(XmlElementNames.Occurrence)) {
return new OccurrenceInfo();
} else {
return null;
}
}
/**
* Gets the name of the collection item XML element.
*
* @param complexProperty
* The complex property.
* @return XML element name.
*/
@Override
protected String getCollectionItemXmlElementName(
OccurrenceInfo complexProperty) {
return XmlElementNames.Occurrence;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy