|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmicrosoft.exchange.webservices.data.ComplexProperty
microsoft.exchange.webservices.data.TimeZoneDefinition
public class TimeZoneDefinition
Represents a time zone as defined by the EWS schema.
Field Summary | |
---|---|
protected java.lang.String |
DaylightPeriodId
The Daylight period id. |
protected java.lang.String |
DaylightPeriodName
The Daylight period name. |
protected java.lang.String |
id
The id. |
protected java.lang.String |
name
The name. |
protected java.lang.String |
StandardPeriodId
The Standard period id. |
protected java.lang.String |
StandardPeriodName
The Standard period name. |
Constructor Summary | |
---|---|
protected |
TimeZoneDefinition()
Initializes a new instance of the TimeZoneDefinition class. |
Method Summary | |
---|---|
int |
compare(microsoft.exchange.webservices.data.TimeZoneTransition x,
microsoft.exchange.webservices.data.TimeZoneTransition y)
Compares the transitions. |
java.lang.String |
getId()
Gets the Id of this time zone definition. |
java.lang.String |
getName()
Gets the name of this time zone definition. |
protected java.util.Map<java.lang.String,microsoft.exchange.webservices.data.TimeZonePeriod> |
getPeriods()
Adds a transition group with a single transition to the specified period. |
protected java.util.Map<java.lang.String,microsoft.exchange.webservices.data.TimeZoneTransitionGroup> |
getTransitionGroups()
Gets the transition groups associated with this time zone definition, indexed by Id. |
protected void |
loadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
Loads from XML. |
protected void |
readAttributesFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
Reads the attributes from XML. |
protected void |
setId(java.lang.String id)
Sets the id. |
protected void |
setName(java.lang.String name)
Sets the name. |
protected boolean |
tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
Tries to read element from XML. |
void |
validate()
Validates this time zone definition. |
protected void |
writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
Writes the attributes to XML. |
protected void |
writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
Writes elements to XML. |
protected void |
writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
Writes to XML. |
protected void |
writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
java.lang.String xmlElementName)
Writes to XML. |
Methods inherited from class microsoft.exchange.webservices.data.ComplexProperty |
---|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, writeToXml |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
equals |
Field Detail |
---|
protected final java.lang.String StandardPeriodId
protected final java.lang.String StandardPeriodName
protected final java.lang.String DaylightPeriodId
protected final java.lang.String DaylightPeriodName
protected java.lang.String name
protected java.lang.String id
Constructor Detail |
---|
protected TimeZoneDefinition()
Method Detail |
---|
public int compare(microsoft.exchange.webservices.data.TimeZoneTransition x, microsoft.exchange.webservices.data.TimeZoneTransition y)
compare
in interface java.util.Comparator<microsoft.exchange.webservices.data.TimeZoneTransition>
x
- The first transition.y
- The second transition.
protected void readAttributesFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader) throws java.lang.Exception
readAttributesFromXml
in class ComplexProperty
reader
- the reader
java.lang.Exception
- the exceptionprotected void writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
writeAttributesToXml
in class ComplexProperty
writer
- the writer
ServiceXmlSerializationException
- the service xml serialization exceptionprotected boolean tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader) throws java.lang.Exception
tryReadElementFromXml
in class ComplexProperty
reader
- the reader
java.lang.Exception
- the exceptionprotected void loadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader) throws java.lang.Exception
reader
- the reader
java.lang.Exception
- the exceptionprotected void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer) throws java.lang.Exception
writeElementsToXml
in class ComplexProperty
writer
- the writer
java.lang.Exception
- the exceptionprotected void writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer) throws java.lang.Exception
writer
- The writer.
java.lang.Exception
- the exceptionpublic void validate() throws ServiceLocalException
validate
in class ComplexProperty
ServiceLocalException
- the service local exceptionpublic java.lang.String getName()
protected void setName(java.lang.String name)
name
- the new namepublic java.lang.String getId()
protected void setId(java.lang.String id)
id
- the new idprotected java.util.Map<java.lang.String,microsoft.exchange.webservices.data.TimeZonePeriod> getPeriods()
protected java.util.Map<java.lang.String,microsoft.exchange.webservices.data.TimeZoneTransitionGroup> getTransitionGroups()
protected void writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer, java.lang.String xmlElementName) throws java.lang.Exception
writeToXml
in class ComplexProperty
writer
- accepts EwsServiceXmlWriterxmlElementName
- accepts String
java.lang.Exception
- throws Exception
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |