|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.AlternateIdBase
microsoft.exchange.webservices.data.AlternateId
public class AlternateId
Represents an Id expressed in a specific format.
| Field Summary | |
|---|---|
protected static String |
SchemaTypeName
Name of schema type used for AlternateId. |
| Constructor Summary | |
|---|---|
AlternateId()
Initializes a new instance of the class. |
|
AlternateId(IdFormat format,
String id,
String mailbox)
Initializes a new instance of the class. |
|
AlternateId(IdFormat format,
String id,
String mailbox,
boolean isArchive)
Initializes a new instance of the AlternateId class. |
|
| Method Summary | |
|---|---|
boolean |
getIsArchive()
|
String |
getMailbox()
Gets the mailbox to which the Id belongs. |
String |
getUniqueId()
Gets the Id. |
protected String |
getXmlElementName()
Gets the name of the XML element. |
protected void |
internalValidate()
Validate this instance. |
protected void |
loadAttributesFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
Gets the name of the XML element. |
void |
setIsArchive(boolean isArchive)
Sets the type (primary or archive) mailbox to which the Id belongs. |
void |
setMailbox(String mailbox)
Sets the mailbox. |
void |
setUniqueId(String id)
Sets the unique id. |
protected void |
writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
Gets the name of the XML element. |
| Methods inherited from class microsoft.exchange.webservices.data.AlternateIdBase |
|---|
getFormat, setFormat, validate, writeToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String SchemaTypeName
| Constructor Detail |
|---|
public AlternateId()
public AlternateId(IdFormat format,
String id,
String mailbox)
format - the formatid - the idmailbox - the mailbox
public AlternateId(IdFormat format,
String id,
String mailbox,
boolean isArchive)
format - The format the Id is expressed in.id - The Id.mailbox - The SMTP address of the mailbox that the Id belongs to.isArchive - Primary (false) or archive (true) mailbox.| Method Detail |
|---|
public String getUniqueId()
public void setUniqueId(String id)
id - the new unique idpublic String getMailbox()
public void setMailbox(String mailbox)
mailbox - the new mailboxpublic boolean getIsArchive()
public void setIsArchive(boolean isArchive)
isArchive - the new isArchiveprotected String getXmlElementName()
getXmlElementName in class AlternateIdBase
protected void writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
throws ServiceXmlSerializationException
writeAttributesToXml in class AlternateIdBasewriter - the writer
ServiceXmlSerializationException - the service xml serialization exception
protected void loadAttributesFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
throws Exception
loadAttributesFromXml in class AlternateIdBasereader - the reader
Exception// - the exception
Exception - the exception
protected void internalValidate()
throws Exception
internalValidate in class AlternateIdBaseException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||