microsoft.exchange.webservices.data
Class AttendeeInfo

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

public final class AttendeeInfo
extends java.lang.Object

Represents information about an attendee for which to request availability information.


Constructor Summary
AttendeeInfo()
          Initializes a new instance of the AttendeeInfo class.
AttendeeInfo(java.lang.String smtpAddress)
          Initializes a new instance of the AttendeeInfo class.
AttendeeInfo(java.lang.String smtpAddress, MeetingAttendeeType attendeeType, boolean excludeConflicts)
          Initializes a new instance of the AttendeeInfo class.
 
Method Summary
static AttendeeInfo getAttendeeInfoFromString(java.lang.String smtpAddress)
          Defines an implicit conversion between a string representing an SMTP address and AttendeeInfo.
 MeetingAttendeeType getAttendeeType()
          Gets the type of this attendee.
 java.lang.String getSmtpAddress()
          Gets the SMTP address of this attendee.
 boolean isExcludeConflicts()
          Gets a value indicating whether times when this attendee is not available should be returned.
 void setAttendeeType(MeetingAttendeeType attendeeType)
          Sets the attendee type.
 void setExcludeConflicts(boolean excludeConflicts)
          Sets the exclude conflicts.
 void setSmtpAddress(java.lang.String smtpAddress)
          Sets the smtp address.
 void validate()
          Validates this instance.
protected  void writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
          Writes to XML.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttendeeInfo

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


AttendeeInfo

public AttendeeInfo(java.lang.String smtpAddress,
                    MeetingAttendeeType attendeeType,
                    boolean excludeConflicts)
Initializes a new instance of the AttendeeInfo class.

Parameters:
smtpAddress - the smtp address
attendeeType - the attendee type
excludeConflicts - the exclude conflicts

AttendeeInfo

public AttendeeInfo(java.lang.String smtpAddress)
Initializes a new instance of the AttendeeInfo class.

Parameters:
smtpAddress - the smtp address
Method Detail

getAttendeeInfoFromString

public static AttendeeInfo getAttendeeInfoFromString(java.lang.String smtpAddress)
Defines an implicit conversion between a string representing an SMTP address and AttendeeInfo.

Parameters:
smtpAddress - the smtp address
Returns:
An AttendeeInfo initialized with the specified SMTP address.

writeToXml

protected void writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
                   throws java.lang.Exception
Writes to XML.

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

getSmtpAddress

public java.lang.String getSmtpAddress()
Gets the SMTP address of this attendee.

Returns:
the smtp address

setSmtpAddress

public void setSmtpAddress(java.lang.String smtpAddress)
Sets the smtp address.

Parameters:
smtpAddress - the new smtp address

getAttendeeType

public MeetingAttendeeType getAttendeeType()
Gets the type of this attendee.

Returns:
the attendee type

setAttendeeType

public void setAttendeeType(MeetingAttendeeType attendeeType)
Sets the attendee type.

Parameters:
attendeeType - the new attendee type

isExcludeConflicts

public boolean isExcludeConflicts()
Gets a value indicating whether times when this attendee is not available should be returned.

Returns:
true, if is exclude conflicts

setExcludeConflicts

public void setExcludeConflicts(boolean excludeConflicts)
Sets the exclude conflicts.

Parameters:
excludeConflicts - the new exclude conflicts

validate

public void validate()
              throws java.lang.Exception
Validates this instance.

Throws:
java.lang.Exception - the exception