microsoft.exchange.webservices.data.misc.id
Class AlternatePublicFolderId

java.lang.Object
  extended by microsoft.exchange.webservices.data.misc.id.AlternateIdBase
      extended by microsoft.exchange.webservices.data.misc.id.AlternatePublicFolderId
All Implemented Interfaces:
ISelfValidate
Direct Known Subclasses:
AlternatePublicFolderItemId

public class AlternatePublicFolderId
extends AlternateIdBase

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


Field Summary
static String SchemaTypeName
          Name of schema type used for AlternatePublicFolderId element.
 
Constructor Summary
AlternatePublicFolderId()
          Initializes a new instance of AlternatePublicFolderId.
AlternatePublicFolderId(IdFormat format, String folderId)
          Initializes a new instance of AlternatePublicFolderId.
 
Method Summary
 String getFolderId()
          The Id of the public folder.
protected  String getXmlElementName()
          Gets the name of the XML element.
 void loadAttributesFromXml(EwsServiceXmlReader reader)
          Loads the attribute from XML.
 void setFolderId(String folderId)
          Sets the folder id.
protected  void writeAttributesToXml(EwsServiceXmlWriter writer)
          Writes the attribute to XML.
 
Methods inherited from class microsoft.exchange.webservices.data.misc.id.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

public static final 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,
                               String folderId)
Initializes a new instance of AlternatePublicFolderId.

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

getFolderId

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

Returns:
the folder id

setFolderId

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

Parameters:
folderId - the new folder id

getXmlElementName

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

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

writeAttributesToXml

protected void writeAttributesToXml(EwsServiceXmlWriter writer)
                             throws ServiceXmlSerializationException
Writes the attribute to XML.

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

loadAttributesFromXml

public void loadAttributesFromXml(EwsServiceXmlReader reader)
                           throws Exception
Loads the attribute from XML.

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


Copyright © 2012–2015 Microsoft. All rights reserved.