microsoft.exchange.webservices.data
Class ImpersonatedUserId

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

public final class ImpersonatedUserId
extends java.lang.Object

Represents an impersonated user Id.


Constructor Summary
ImpersonatedUserId()
          Instantiates a new impersonated user id.
ImpersonatedUserId(ConnectingIdType idType, java.lang.String id)
          Initializes a new instance of ConnectingId.
 
Method Summary
 java.lang.String getId()
          Gets the user Id.
 ConnectingIdType getIdType()
          Gets the type of the Id.
 void setId(java.lang.String id)
          Sets the id.
 void setIdType(ConnectingIdType idType)
          Sets the id type.
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

ImpersonatedUserId

public ImpersonatedUserId()
Instantiates a new impersonated user id.


ImpersonatedUserId

public ImpersonatedUserId(ConnectingIdType idType,
                          java.lang.String id)
Initializes a new instance of ConnectingId.

Parameters:
idType - The type of this Id.
id - The user Id.
Method Detail

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

getIdType

public ConnectingIdType getIdType()
Gets the type of the Id.

Returns:
the id type

setIdType

public void setIdType(ConnectingIdType idType)
Sets the id type.

Parameters:
idType - the new id type

getId

public java.lang.String getId()
Gets the user Id.

Returns:
the id

setId

public void setId(java.lang.String id)
Sets the id.

Parameters:
id - the new id