microsoft.exchange.webservices.data
Class Attendee

java.lang.Object
  extended by microsoft.exchange.webservices.data.ComplexProperty
      extended by microsoft.exchange.webservices.data.EmailAddress
          extended by microsoft.exchange.webservices.data.Attendee
All Implemented Interfaces:
ISearchStringProvider

public final class Attendee
extends EmailAddress

Represents an attendee to a meeting.


Field Summary
 
Fields inherited from class microsoft.exchange.webservices.data.EmailAddress
SmtpRoutingType
 
Constructor Summary
Attendee()
          Initializes a new instance of the Attendee class.
Attendee(EmailAddress mailbox)
          * Initializes a new instance of the Attendee class.
Attendee(java.lang.String smtpAddress)
          * Initializes a new instance of the Attendee class.
Attendee(java.lang.String name, java.lang.String smtpAddress)
          * Initializes a new instance of the Attendee class.
Attendee(java.lang.String name, java.lang.String smtpAddress, java.lang.String routingType)
          * Initializes a new instance of the Attendee class.
 
Method Summary
 java.util.Date getLastResponseTime()
          Gets the last response time.
 MeetingResponseType getResponseType()
          * Gets the type of response the attendee gave to the meeting invitation it received.
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 the elements to XML.
 
Methods inherited from class microsoft.exchange.webservices.data.EmailAddress
getAddress, getEmailAddressFromString, getId, getMailboxType, getName, getRoutingType, getSearchString, getSmtpRoutingType, setAddress, setId, setMailboxType, setName, setRoutingType, toString
 
Methods inherited from class microsoft.exchange.webservices.data.ComplexProperty
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, 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, wait, wait, wait
 

Constructor Detail

Attendee

public Attendee()
Initializes a new instance of the Attendee class.


Attendee

public Attendee(java.lang.String smtpAddress)
         throws java.lang.Exception
* Initializes a new instance of the Attendee class.

Parameters:
smtpAddress - the smtp address
Throws:
java.lang.Exception - the exception

Attendee

public Attendee(java.lang.String name,
                java.lang.String smtpAddress)
* Initializes a new instance of the Attendee class.

Parameters:
name - the name
smtpAddress - the smtp address

Attendee

public Attendee(java.lang.String name,
                java.lang.String smtpAddress,
                java.lang.String routingType)
* Initializes a new instance of the Attendee class.

Parameters:
name - the name
smtpAddress - the smtp address
routingType - the routing type

Attendee

public Attendee(EmailAddress mailbox)
         throws java.lang.Exception
* Initializes a new instance of the Attendee class.

Parameters:
mailbox - the mailbox
Throws:
java.lang.Exception - the exception
Method Detail

getResponseType

public MeetingResponseType getResponseType()
* Gets the type of response the attendee gave to the meeting invitation it received.

Returns:
the response type

getLastResponseTime

public java.util.Date getLastResponseTime()
Gets the last response time.

Returns:
the last response time

tryReadElementFromXml

protected boolean tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
                                 throws java.lang.Exception
* Tries to read element from XML.

Overrides:
tryReadElementFromXml in class EmailAddress
Parameters:
reader - the reader
Returns:
True if element was read.
Throws:
java.lang.Exception - the exception

writeElementsToXml

protected void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
                           throws java.lang.Exception
* Writes the elements to XML.

Overrides:
writeElementsToXml in class EmailAddress
Parameters:
writer - the writer
Throws:
java.lang.Exception - the exception