Class RulePredicateSizeRange
- java.lang.Object
-
- microsoft.exchange.webservices.data.property.complex.ComplexProperty
-
- microsoft.exchange.webservices.data.property.complex.RulePredicateSizeRange
-
- All Implemented Interfaces:
ISelfValidate,ComplexFunctionDelegate<EwsServiceXmlReader>
public final class RulePredicateSizeRange extends ComplexProperty
Represents the minimum and maximum size of a message.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRulePredicateSizeRange()Initializes a new instance of the RulePredicateSizeRange class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetMaximumSize()Gets or sets the maximum size, in kilobytes.IntegergetMinimumSize()Gets or sets the minimum size, in kilobytes.protected voidinternalValidate()Validates this instance.voidsetMaximumSize(Integer value)voidsetMinimumSize(Integer value)booleantryReadElementFromXml(EwsServiceXmlReader reader)Tries to read element from XML.voidwriteElementsToXml(EwsServiceXmlWriter writer)Writes elements to XML.-
Methods inherited from class microsoft.exchange.webservices.data.property.complex.ComplexProperty
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml
-
-
-
-
Constructor Detail
-
RulePredicateSizeRange
protected RulePredicateSizeRange()
Initializes a new instance of the RulePredicateSizeRange class.
-
-
Method Detail
-
getMinimumSize
public Integer getMinimumSize()
Gets or sets the minimum size, in kilobytes. If MinimumSize is set to null, no minimum size applies.
-
setMinimumSize
public void setMinimumSize(Integer value)
-
getMaximumSize
public Integer getMaximumSize()
Gets or sets the maximum size, in kilobytes. If MaximumSize is set to null, no maximum size applies.
-
setMaximumSize
public void setMaximumSize(Integer value)
-
tryReadElementFromXml
public boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
Tries to read element from XML.- Overrides:
tryReadElementFromXmlin classComplexProperty- Parameters:
reader- The reader.- Returns:
- True if element was read.
- Throws:
Exception- the exception
-
writeElementsToXml
public void writeElementsToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException, XMLStreamException
Writes elements to XML.- Overrides:
writeElementsToXmlin classComplexProperty- Parameters:
writer- the writer- Throws:
XMLStreamException- the XML stream exceptionServiceXmlSerializationException
-
internalValidate
protected void internalValidate() throws ServiceValidationException, Exception
Validates this instance.- Overrides:
internalValidatein classComplexProperty- Throws:
Exception- the exceptionServiceValidationException
-
-