|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmicrosoft.exchange.webservices.data.ComplexProperty
microsoft.exchange.webservices.data.RuleOperation
microsoft.exchange.webservices.data.SetRuleOperation
public class SetRuleOperation
Represents an operation to update an existing rule.
Field Summary |
---|
Fields inherited from class microsoft.exchange.webservices.data.RuleOperation |
---|
xmlElementName |
Constructor Summary | |
---|---|
SetRuleOperation()
Initializes a new instance of the SetRuleOperation class. |
|
SetRuleOperation(Rule rule)
Initializes a new instance of the SetRuleOperation class. |
Method Summary | |
---|---|
Rule |
getRule()
Gets the rule to be updated. |
protected java.lang.String |
getXmlElementName()
Gets the Xml element name of the SetRuleOperation object. |
protected void |
internalValidate()
Validates this instance. |
void |
setRule(Rule value)
Sets the rule to be updated. |
protected boolean |
tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
Tries to read element from XML. |
protected void |
writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
Writes elements to XML. |
Methods inherited from class microsoft.exchange.webservices.data.ComplexProperty |
---|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SetRuleOperation()
public SetRuleOperation(Rule rule)
rule
- The rule
The inbox rule to update.Method Detail |
---|
public Rule getRule()
public void setRule(Rule value)
protected boolean tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader) throws java.lang.Exception
tryReadElementFromXml
in class ComplexProperty
reader
- The reader
java.lang.Exception
- the exceptionprotected void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer) throws java.lang.Exception
writeElementsToXml
in class ComplexProperty
writer
- The writer.
java.lang.Exception
- the exceptionprotected void internalValidate() throws java.lang.Exception
internalValidate
in class ComplexProperty
java.lang.Exception
protected java.lang.String getXmlElementName()
getXmlElementName
in class RuleOperation
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |