Class AlternatePublicFolderId
- java.lang.Object
-
- microsoft.exchange.webservices.data.misc.id.AlternateIdBase
-
- 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
Fields Modifier and Type Field Description static StringSchemaTypeNameName of schema type used for AlternatePublicFolderId element.
-
Constructor Summary
Constructors Constructor Description AlternatePublicFolderId()Initializes a new instance of AlternatePublicFolderId.AlternatePublicFolderId(IdFormat format, String folderId)Initializes a new instance of AlternatePublicFolderId.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFolderId()The Id of the public folder.protected StringgetXmlElementName()Gets the name of the XML element.voidloadAttributesFromXml(EwsServiceXmlReader reader)Loads the attribute from XML.voidsetFolderId(String folderId)Sets the folder id.protected voidwriteAttributesToXml(EwsServiceXmlWriter writer)Writes the attribute to XML.-
Methods inherited from class microsoft.exchange.webservices.data.misc.id.AlternateIdBase
getFormat, internalValidate, setFormat, validate, writeToXml
-
-
-
-
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 formatfolderId- 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:
getXmlElementNamein classAlternateIdBase- Returns:
- XML element name
-
writeAttributesToXml
protected void writeAttributesToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
Writes the attribute to XML.- Overrides:
writeAttributesToXmlin classAlternateIdBase- 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:
loadAttributesFromXmlin classAlternateIdBase- Parameters:
reader- the reader- Throws:
Exception- the exception
-
-