microsoft.exchange.webservices.data
Class RuleErrorCollection

java.lang.Object
  extended by microsoft.exchange.webservices.data.ComplexProperty
      extended by microsoft.exchange.webservices.data.ComplexPropertyCollection<RuleError>
          extended by microsoft.exchange.webservices.data.RuleErrorCollection
All Implemented Interfaces:
java.lang.Iterable<RuleError>

public final class RuleErrorCollection
extends ComplexPropertyCollection<RuleError>

Represents a collection of rule validation errors.


Constructor Summary
protected RuleErrorCollection()
          Initializes a new instance of the RuleErrorCollection class.
 
Method Summary
protected  RuleError createComplexProperty(java.lang.String xmlElementName)
          Creates an RuleError object from an XML element name.
protected  java.lang.String getCollectionItemXmlElementName(RuleError ruleValidationError)
          Retrieves the XML element name corresponding to the provided RuleError object.
 
Methods inherited from class microsoft.exchange.webservices.data.ComplexPropertyCollection
clearChangeLog, complexPropertyChanged, contains, getAddedItems, getCount, getItems, getModifiedItems, getPropertyAtIndex, getRemovedItems, indexOf, internalAdd, internalClear, internalRemove, internalRemoveAt, itemChanged, iterator, loadFromXml, loadFromXml, removeFromChangeLog, shouldWriteToXml, updateFromXml, writeDeleteUpdateToXml, writeElementsToXml, writeSetUpdateToXml, writeToXml
 
Methods inherited from class microsoft.exchange.webservices.data.ComplexProperty
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, func, getNamespace, internalValidate, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, tryReadElementFromXmlToPatch, updateFromXml, validate, writeAttributesToXml, writeToXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleErrorCollection

protected RuleErrorCollection()
Initializes a new instance of the RuleErrorCollection class.

Method Detail

createComplexProperty

protected RuleError createComplexProperty(java.lang.String xmlElementName)
Creates an RuleError object from an XML element name.

Specified by:
createComplexProperty in class ComplexPropertyCollection<RuleError>
Parameters:
xmlElementName - The XML element name from which to create the RuleError object.
Returns:
A RuleError object.

getCollectionItemXmlElementName

protected java.lang.String getCollectionItemXmlElementName(RuleError ruleValidationError)
Retrieves the XML element name corresponding to the provided RuleError object.

Specified by:
getCollectionItemXmlElementName in class ComplexPropertyCollection<RuleError>
Parameters:
ruleValidationError - The RuleError object from which to determine the XML element name.
Returns:
The XML element name corresponding to the provided RuleError object.