All Downloads are FREE. Search and download functionalities are using the official Maven repository.

microsoft.exchange.webservices.data.RecurringAppointmentMasterId Maven / Gradle / Ivy

Go to download

The source came from http://archive.msdn.microsoft.com/ewsjavaapi Support for Maven has been added.

The newest version!
/**************************************************************************
 * copyright file="RecurringAppointmentMasterId.java" company="Microsoft"
 *     Copyright (c) Microsoft Corporation.  All rights reserved.
 * 
 * Defines the RecurringAppointmentMasterId.java.
 **************************************************************************/
package microsoft.exchange.webservices.data;

/**
 * Represents the Id of an occurrence of a recurring appointment.
 */
public final class RecurringAppointmentMasterId extends ItemId {

	/**
	 * Represents the Id of an occurrence of a recurring appointment.
	 * 
	 * @param occurrenceId
	 *            the occurrence id
	 * @throws Exception
	 *             the exception
	 */
	public RecurringAppointmentMasterId(String occurrenceId) throws Exception {
		super(occurrenceId);
	}

	/**
	 * Gets the name of the XML element.
	 * 
	 * @return XML element name.
	 */
	@Override
	protected String getXmlElementName() {
		return XmlElementNames.RecurringMasterItemId;
	}

	/**
	 * Writes attributes to XML.
	 * 
	 * @param writer
	 *            the writer
	 * @throws ServiceXmlSerializationException
	 *             the service xml serialization exception
	 */
	@Override
	protected void writeAttributesToXml(EwsServiceXmlWriter writer)
			throws ServiceXmlSerializationException {
		writer.writeAttributeValue(XmlAttributeNames.OccurrenceId, this
				.getUniqueId());
		writer.writeAttributeValue(XmlAttributeNames.ChangeKey, this
				.getChangeKey());
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy