All Downloads are FREE. Search and download functionalities are using the official Maven repository.

microsoft.exchange.webservices.data.RuleOperationErrorCollection Maven / Gradle / Ivy

Go to download

The source came from http://archive.msdn.microsoft.com/ewsjavaapi Support for Maven has been added.

The newest version!
/**************************************************************************
 * copyright file="RuleOperationErrorCollection.java" company="Microsoft"
 *     Copyright (c) Microsoft Corporation.  All rights reserved.
 * 
 * Implements a RuleOperationErrorCollection collection.
 **************************************************************************/
package microsoft.exchange.webservices.data;
/***
 * Represents a collection of rule operation errors.
 * 
 * 
 */
public final class RuleOperationErrorCollection extends 
ComplexPropertyCollection{

	/***
	 * 
	 * Initializes a new instance of the
	 *   class.
	 * 
	 */
	protected RuleOperationErrorCollection() {
		super();      
	}

	/***
	 * Creates an RuleOperationError object from an XML element name.
	 * 
	 * @param xmlElementName
	 *            The XML element name from which 
	 *            to create the RuleOperationError object.
	 * @return A RuleOperationError object.
	 */
	@Override
	protected  RuleOperationError createComplexProperty(String xmlElementName) {
		if (xmlElementName.equals(XmlElementNames.RuleOperationError)) {
			return new RuleOperationError();
		}
		else {
			return null;
		}
	}
	
	/***
	 * Retrieves the XML element name corresponding
	 *  to the provided RuleOperationError object.
	 * 
	 * @param operationError
	 *           The RuleOperationError object
	 *            from which to determine the XML element name.
	 * @return The XML element name corresponding
	 *  to the provided RuleOperationError object.
	 */
	@Override
	protected String getCollectionItemXmlElementName(RuleOperationError
			operationError){
		return XmlElementNames.RuleOperationError;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy