Class NameResolution
- java.lang.Object
-
- microsoft.exchange.webservices.data.misc.NameResolution
-
public final class NameResolution extends Object
Represents a suggested name resolution.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNameResolution(NameResolutionCollection owner)Initializes a new instance of the class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContactgetContact()Gets the contact information of the suggested resolved name.EmailAddressgetMailbox()Gets the mailbox of the suggested resolved name.protected voidloadFromXml(EwsServiceXmlReader reader)Loads from XML.
-
-
-
Constructor Detail
-
NameResolution
protected NameResolution(NameResolutionCollection owner)
Initializes a new instance of the class.- Parameters:
owner- the owner
-
-
Method Detail
-
loadFromXml
protected void loadFromXml(EwsServiceXmlReader reader) throws Exception
Loads from XML.- Parameters:
reader- the reader- Throws:
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
-
-