Class RuleOperationError
- java.lang.Object
-
- microsoft.exchange.webservices.data.property.complex.ComplexProperty
-
- microsoft.exchange.webservices.data.property.complex.RuleOperationError
-
- All Implemented Interfaces:
Iterable<RuleError>,ISelfValidate,ComplexFunctionDelegate<EwsServiceXmlReader>
public final class RuleOperationError extends ComplexProperty implements Iterable<RuleError>
Defines the RuleOperationError class.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRuleOperationError()Initializes a new instance of the RuleOperationError class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCount()Gets the number of rule errors in the list.RuleOperationgetOperation()Gets the operation that resulted in an error.RuleErrorgetRuleError(int index)Gets the rule error at the specified index.Iterator<RuleError>iterator()Gets an iterator that iterates through the elements of the collection.voidsetOperationByIndex(Iterator<RuleOperation> operations)Set operation property by the index of a given opeation enumerator.booleantryReadElementFromXml(EwsServiceXmlReader reader)Tries to read element from XML.-
Methods inherited from class microsoft.exchange.webservices.data.property.complex.ComplexProperty
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeElementsToXml, writeToXml, writeToXml
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
RuleOperationError
protected RuleOperationError()
Initializes a new instance of the RuleOperationError class.
-
-
Method Detail
-
getOperation
public RuleOperation getOperation()
Gets the operation that resulted in an error.- Returns:
- operation
-
getCount
public int getCount()
Gets the number of rule errors in the list.- Returns:
- count
-
getRuleError
public RuleError getRuleError(int index) throws ArgumentOutOfRangeException
Gets the rule error at the specified index.- Returns:
- Index
- Throws:
ArgumentOutOfRangeException
-
tryReadElementFromXml
public boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
Tries to read element from XML.- Overrides:
tryReadElementFromXmlin classComplexProperty- Parameters:
reader- The reader.- Returns:
- true
- Throws:
Exception
-
setOperationByIndex
public void setOperationByIndex(Iterator<RuleOperation> operations)
Set operation property by the index of a given opeation enumerator.
-
-