|
|||||||||
| 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.Mailbox
public class Mailbox
Represents a mailbox reference.
| Constructor Summary | |
|---|---|
Mailbox()
Initializes a new instance of the Mailbox class. |
|
Mailbox(String smtpAddress)
* Initializes a new instance of the Mailbox class. |
|
Mailbox(String address,
String routingType)
* Initializes a new instance of the Mailbox class. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
* Determines whether the specified Object is equal to the current Object. |
String |
getAddress()
Gets the address. |
static Mailbox |
getMailboxFromString(String smtpAddress)
* Defines an implicit conversion between a string representing an SMTP address and Mailbox. |
String |
getRoutingType()
Gets the routing type of the address used to refer to the user mailbox. |
String |
getSearchString()
Get a string representation for using this instance in a search filter. |
int |
hashCode()
Serves as a hash function for a particular type. |
protected void |
internalValidate()
Validates this instance. |
boolean |
isValid()
True if this instance is valid, false otherthise. |
void |
setAddress(String address)
Sets the address. |
void |
setRoutingType(String routingType)
Sets the routing type. |
String |
toString()
Returns a String that represents the current Object. |
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, getNamespace, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, validate, writeAttributesToXml, writeToXml, writeToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Mailbox()
public Mailbox(String smtpAddress)
smtpAddress - the smtp address
public Mailbox(String address,
String routingType)
address - the addressroutingType - the routing type| Method Detail |
|---|
public String getAddress()
public void setAddress(String address)
address - the new addresspublic boolean isValid()
public String getRoutingType()
public void setRoutingType(String routingType)
routingType - the new routing typepublic static Mailbox getMailboxFromString(String smtpAddress)
smtpAddress - the smtp address
protected boolean tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
throws Exception
tryReadElementFromXml in class ComplexPropertyreader - the reader
Exception - the exception
protected void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
throws XMLStreamException,
ServiceXmlSerializationException
writeElementsToXml in class ComplexPropertywriter - the writer
XMLStreamException - the xML stream exception
ServiceXmlSerializationException - the service xml serialization exceptionpublic String getSearchString()
getSearchString in interface ISearchStringProvider
protected void internalValidate()
throws ServiceValidationException,
Exception
internalValidate in class ComplexPropertyException
ServiceValidationExceptionpublic boolean equals(Object obj)
equals in class Objectobj - the obj
public int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||