public final class PhysicalAddressEntry extends DictionaryEntryProperty<PhysicalAddressKey> implements IPropertyBagChangedDelegate<String>
Constructor and Description |
---|
PhysicalAddressEntry()
Initializes a new instance of PhysicalAddressEntry.
|
Modifier and Type | Method and Description |
---|---|
void |
clearChangeLog()
Clears the change log.
|
String |
getCity()
Gets the city.
|
String |
getCountryOrRegion()
Gets the country or region.
|
String |
getPostalCode()
Gets the postal code.
|
String |
getState()
Gets the state.
|
String |
getStreet()
Gets the street.
|
void |
propertyBagChanged(SimplePropertyBag<String> simplePropertyBag)
Property was changed.
|
void |
setCity(String value)
Sets the city.
|
void |
setCountryOrRegion(String value)
Sets the country or region.
|
void |
setPostalCode(String value)
Sets the postal code.
|
void |
setState(String value)
Sets the state.
|
void |
setStreet(String value)
Sets the street.
|
boolean |
tryReadElementFromXml(EwsServiceXmlReader reader)
Writes elements to XML.
|
protected boolean |
writeDeleteUpdateToXml(EwsServiceXmlWriter writer,
ServiceObject ewsObject)
Writes the delete update to XML.
|
void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes elements to XML.
|
protected boolean |
writeSetUpdateToXml(EwsServiceXmlWriter writer,
ServiceObject ewsObject,
String ownerDictionaryXmlElementName)
Writes the update to XML.
|
getKey, readAttributesFromXml, setKey, writeAttributesToXml
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeToXml, writeToXml
public PhysicalAddressEntry()
public void propertyBagChanged(SimplePropertyBag<String> simplePropertyBag)
propertyBagChanged
in interface IPropertyBagChangedDelegate<String>
simplePropertyBag
- the simple property bagpublic String getStreet() throws Exception
Exception
- the exceptionpublic void setStreet(String value) throws Exception
value
- the new streetException
- the exceptionpublic String getCity() throws Exception
Exception
- the exceptionpublic String getState() throws Exception
Exception
- the exceptionpublic String getCountryOrRegion() throws Exception
Exception
- the exceptionpublic void setCountryOrRegion(String value)
value
- the new country or regionpublic String getPostalCode()
public void setPostalCode(String value)
value
- the new postal codepublic void clearChangeLog()
clearChangeLog
in class ComplexProperty
public boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
tryReadElementFromXml
in class ComplexProperty
reader
- the readerException
- the exceptionpublic void writeElementsToXml(EwsServiceXmlWriter writer) throws XMLStreamException, ServiceXmlSerializationException
writeElementsToXml
in class ComplexProperty
writer
- the writerXMLStreamException
- the XML stream exceptionServiceXmlSerializationException
- the service xml serialization exceptionprotected boolean writeSetUpdateToXml(EwsServiceXmlWriter writer, ServiceObject ewsObject, String ownerDictionaryXmlElementName) throws XMLStreamException, ServiceXmlSerializationException
writeSetUpdateToXml
in class DictionaryEntryProperty<PhysicalAddressKey>
writer
- the writerewsObject
- the ews objectownerDictionaryXmlElementName
- the owner dictionary xml element nameXMLStreamException
- the XML stream exceptionServiceXmlSerializationException
- the service xml serialization exceptionprotected boolean writeDeleteUpdateToXml(EwsServiceXmlWriter writer, ServiceObject ewsObject) throws XMLStreamException, ServiceXmlSerializationException
writeDeleteUpdateToXml
in class DictionaryEntryProperty<PhysicalAddressKey>
writer
- the writerewsObject
- the ews objectXMLStreamException
- the XML stream exceptionServiceXmlSerializationException
- the service xml serialization exceptionCopyright © 2012–2015 Microsoft. All rights reserved.