microsoft.exchange.webservices.data
Class NameResolution

java.lang.Object
  extended by microsoft.exchange.webservices.data.NameResolution

public final class NameResolution
extends java.lang.Object

Represents a suggested name resolution.


Constructor Summary
protected NameResolution(NameResolutionCollection owner)
          Initializes a new instance of the class.
 
Method Summary
 Contact getContact()
          Gets the contact information of the suggested resolved name.
 EmailAddress getMailbox()
          Gets the mailbox of the suggested resolved name.
protected  void loadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
          Loads from XML.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameResolution

protected NameResolution(NameResolutionCollection owner)
Initializes a new instance of the class.

Parameters:
owner - the owner
Method Detail

loadFromXml

protected void loadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
                    throws java.lang.Exception
Loads from XML.

Parameters:
reader - the reader
Throws:
java.lang.Exception - the exception

getMailbox

public EmailAddress getMailbox()
Gets the mailbox of the suggested resolved name.

Returns:
the mailbox

getContact

public Contact getContact()
Gets the contact information of the suggested resolved name. This property is only available when ResolveName is called with returnContactDetails = true.

Returns:
the contact