microsoft.exchange.webservices.data
Class AlternatePublicFolderItemId

java.lang.Object
  extended by microsoft.exchange.webservices.data.AlternateIdBase
      extended by microsoft.exchange.webservices.data.AlternatePublicFolderId
          extended by microsoft.exchange.webservices.data.AlternatePublicFolderItemId

public class AlternatePublicFolderItemId
extends AlternatePublicFolderId

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


Field Summary
protected static java.lang.String SchemaTypeName
          Schema type associated with AlternatePublicFolderItemId.
 
Constructor Summary
AlternatePublicFolderItemId()
          Initializes a new instance of the class.
AlternatePublicFolderItemId(IdFormat format, java.lang.String folderId, java.lang.String itemId)
          Initializes a new instance of the class.
 
Method Summary
 java.lang.String getItemId()
          Gets The Id of the public folder item.
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 setItemId(java.lang.String itemId)
          Sets the item id.
protected  void writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
          Writes the attributes to XML.
 
Methods inherited from class microsoft.exchange.webservices.data.AlternatePublicFolderId
getFolderId, setFolderId
 
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
Schema type associated with AlternatePublicFolderItemId.

See Also:
Constant Field Values
Constructor Detail

AlternatePublicFolderItemId

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


AlternatePublicFolderItemId

public AlternatePublicFolderItemId(IdFormat format,
                                   java.lang.String folderId,
                                   java.lang.String itemId)
Initializes a new instance of the class.

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

getItemId

public java.lang.String getItemId()
Gets The Id of the public folder item.

Returns:
the item id

setItemId

public void setItemId(java.lang.String itemId)
Sets the item id.

Parameters:
itemId - the new item id

getXmlElementName

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

Overrides:
getXmlElementName in class AlternatePublicFolderId
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 AlternatePublicFolderId
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 AlternatePublicFolderId
Parameters:
reader - the reader
Throws:
java.lang.Exception - the exception