|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmicrosoft.exchange.webservices.data.OrderByCollection
public final class OrderByCollection
Represents an ordered collection of property definitions qualified with a sort direction.
Constructor Summary | |
---|---|
protected |
OrderByCollection()
Initializes a new instance of the OrderByCollection class. |
Method Summary | |
---|---|
void |
add(PropertyDefinitionBase propertyDefinition,
SortDirection sortDirection)
* Adds the specified property definition / sort direction pair to the collection. |
void |
clear()
Removes all elements from the collection. |
protected boolean |
contains(PropertyDefinitionBase propertyDefinition)
* Determines whether the collection contains the specified property definition. |
int |
count()
* Gets the number of elements contained in the collection. |
java.util.Iterator<java.util.Map<PropertyDefinitionBase,SortDirection>> |
getEnumerator()
Returns an enumerator that iterates through the collection. |
java.util.Map<PropertyDefinitionBase,SortDirection> |
getPropertyDefinitionSortDirectionPair(int index)
* Gets the element at the specified index from the collection. |
java.util.Iterator<java.util.Map<PropertyDefinitionBase,SortDirection>> |
iterator()
|
boolean |
remove(PropertyDefinitionBase propertyDefinition)
* Removes the specified property definition from the collection. |
void |
removeAt(int index)
* Removes the element at the specified index from the collection. |
boolean |
tryGetValue(PropertyDefinitionBase propertyDefinition,
OutParam sortDirection)
* Tries to get the value for a property definition in the collection. |
protected void |
writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
java.lang.String xmlElementName)
* Writes to XML. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected OrderByCollection()
Method Detail |
---|
public void add(PropertyDefinitionBase propertyDefinition, SortDirection sortDirection) throws ServiceLocalException
propertyDefinition
- the property definitionsortDirection
- the sort direction
ServiceLocalException
- the service local exceptionpublic void clear()
protected boolean contains(PropertyDefinitionBase propertyDefinition)
propertyDefinition
- the property definition
public int count()
public boolean remove(PropertyDefinitionBase propertyDefinition)
propertyDefinition
- the property definition
public void removeAt(int index)
index
- the indexpublic boolean tryGetValue(PropertyDefinitionBase propertyDefinition, OutParam sortDirection)
propertyDefinition
- the property definitionsortDirection
- the sort direction
protected void writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer, java.lang.String xmlElementName) throws javax.xml.stream.XMLStreamException, ServiceXmlSerializationException
writer
- the writerxmlElementName
- the xml element name
javax.xml.stream.XMLStreamException
- the xML stream exception
ServiceXmlSerializationException
- the service xml serialization exceptionpublic java.util.Iterator<java.util.Map<PropertyDefinitionBase,SortDirection>> iterator()
iterator
in interface java.lang.Iterable<java.util.Map<PropertyDefinitionBase,SortDirection>>
public java.util.Map<PropertyDefinitionBase,SortDirection> getPropertyDefinitionSortDirectionPair(int index)
index
- the index
public java.util.Iterator<java.util.Map<PropertyDefinitionBase,SortDirection>> getEnumerator()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |