Class AlternatePublicFolderItemId
- java.lang.Object
-
- microsoft.exchange.webservices.data.misc.id.AlternateIdBase
-
- microsoft.exchange.webservices.data.misc.id.AlternatePublicFolderId
-
- microsoft.exchange.webservices.data.misc.id.AlternatePublicFolderItemId
-
- All Implemented Interfaces:
ISelfValidate
public class AlternatePublicFolderItemId extends AlternatePublicFolderId
Represents the Id of a public folder item expressed in a specific format.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSchemaTypeNameSchema type associated with AlternatePublicFolderItemId.
-
Constructor Summary
Constructors Constructor Description AlternatePublicFolderItemId()Initializes a new instance of the class.AlternatePublicFolderItemId(IdFormat format, String folderId, String itemId)Initializes a new instance of the class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetItemId()Gets The Id of the public folder item.protected StringgetXmlElementName()Gets the name of the XML element.voidloadAttributesFromXml(EwsServiceXmlReader reader)Loads the attribute from XML.voidsetItemId(String itemId)Sets the item id.protected voidwriteAttributesToXml(EwsServiceXmlWriter writer)Writes the attribute to XML.-
Methods inherited from class microsoft.exchange.webservices.data.misc.id.AlternatePublicFolderId
getFolderId, setFolderId
-
Methods inherited from class microsoft.exchange.webservices.data.misc.id.AlternateIdBase
getFormat, internalValidate, setFormat, validate, writeToXml
-
-
-
-
Field Detail
-
SchemaTypeName
public static final 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, String folderId, String itemId)
Initializes a new instance of the class.- Parameters:
format- the formatfolderId- the folder iditemId- the item id
-
-
Method Detail
-
setItemId
public void setItemId(String itemId)
Sets the item id.- Parameters:
itemId- the new item id
-
getXmlElementName
protected String getXmlElementName()
Gets the name of the XML element.- Overrides:
getXmlElementNamein classAlternatePublicFolderId- Returns:
- XML element name.
-
writeAttributesToXml
protected void writeAttributesToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
Writes the attribute to XML.- Overrides:
writeAttributesToXmlin classAlternatePublicFolderId- 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 classAlternatePublicFolderId- Parameters:
reader- the reader- Throws:
Exception- the exception
-
-