|
||||||||
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 java.lang.String |
SchemaTypeName
Name of schema type used for AlternateId. |
Constructor Summary | |
---|---|
AlternateId()
Initializes a new instance of the class. |
|
AlternateId(IdFormat format,
java.lang.String id,
java.lang.String mailbox)
Initializes a new instance of the class. |
|
AlternateId(IdFormat format,
java.lang.String id,
java.lang.String mailbox,
boolean isArchive)
Initializes a new instance of the AlternateId class. |
Method Summary | |
---|---|
boolean |
getIsArchive()
|
java.lang.String |
getMailbox()
Gets the mailbox to which the Id belongs. |
java.lang.String |
getUniqueId()
Gets the Id. |
protected java.lang.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(java.lang.String mailbox)
Sets the mailbox. |
void |
setUniqueId(java.lang.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 java.lang.String SchemaTypeName
Constructor Detail |
---|
public AlternateId()
public AlternateId(IdFormat format, java.lang.String id, java.lang.String mailbox)
format
- the formatid
- the idmailbox
- the mailboxpublic AlternateId(IdFormat format, java.lang.String id, java.lang.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 java.lang.String getUniqueId()
public void setUniqueId(java.lang.String id)
id
- the new unique idpublic java.lang.String getMailbox()
public void setMailbox(java.lang.String mailbox)
mailbox
- the new mailboxpublic boolean getIsArchive()
public void setIsArchive(boolean isArchive)
isArchive
- the new isArchiveprotected java.lang.String getXmlElementName()
getXmlElementName
in class AlternateIdBase
protected void writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
writeAttributesToXml
in class AlternateIdBase
writer
- the writer
ServiceXmlSerializationException
- the service xml serialization exceptionprotected void loadAttributesFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader) throws java.lang.Exception
loadAttributesFromXml
in class AlternateIdBase
reader
- the reader
Exception//
- the exception
java.lang.Exception
- the exceptionprotected void internalValidate() throws java.lang.Exception
internalValidate
in class AlternateIdBase
java.lang.Exception
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |