microsoft.exchange.webservices.data
Class AlternatePublicFolderId

java.lang.Object
  extended by microsoft.exchange.webservices.data.AlternateIdBase
      extended by microsoft.exchange.webservices.data.AlternatePublicFolderId
Direct Known Subclasses:
AlternatePublicFolderItemId

public class AlternatePublicFolderId
extends AlternateIdBase

Represents the Id of a public folder expressed in a specific format.


Field Summary
protected static java.lang.String SchemaTypeName
          Name of schema type used for AlternatePublicFolderId element.
 
Constructor Summary
AlternatePublicFolderId()
          Initializes a new instance of AlternatePublicFolderId.
AlternatePublicFolderId(IdFormat format, java.lang.String folderId)
          Initializes a new instance of AlternatePublicFolderId.
 
Method Summary
 java.lang.String getFolderId()
          The Id of the public folder.
protected  java.lang.String getXmlElementName()
          Gets the name of the XML element.
protected  void loadAttributesFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
          Loads the attributes from XML.
 void setFolderId(java.lang.String folderId)
          Sets the folder id.
protected  void writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
          Writes the attributes to XML.
 
Methods inherited from class microsoft.exchange.webservices.data.AlternateIdBase
getFormat, internalValidate, setFormat, validate, writeToXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SchemaTypeName

protected static final java.lang.String SchemaTypeName
Name of schema type used for AlternatePublicFolderId element.

See Also:
Constant Field Values
Constructor Detail

AlternatePublicFolderId

public AlternatePublicFolderId()
Initializes a new instance of AlternatePublicFolderId.


AlternatePublicFolderId

public AlternatePublicFolderId(IdFormat format,
                               java.lang.String folderId)
Initializes a new instance of AlternatePublicFolderId.

Parameters:
format - the format
folderId - the folder id
Method Detail

getFolderId

public java.lang.String getFolderId()
The Id of the public folder.

Returns:
the folder id

setFolderId

public void setFolderId(java.lang.String folderId)
Sets the folder id.

Parameters:
folderId - the new folder id

getXmlElementName

protected java.lang.String getXmlElementName()
Gets the name of the XML element.

Specified by:
getXmlElementName in class AlternateIdBase
Returns:
XML element name

writeAttributesToXml

protected void writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
                             throws ServiceXmlSerializationException
Writes the attributes to XML.

Overrides:
writeAttributesToXml in class AlternateIdBase
Parameters:
writer - the writer
Throws:
ServiceXmlSerializationException - the service xml serialization exception

loadAttributesFromXml

protected void loadAttributesFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
                              throws java.lang.Exception
Loads the attributes from XML.

Overrides:
loadAttributesFromXml in class AlternateIdBase
Parameters:
reader - the reader
Throws:
java.lang.Exception - the exception