public final class Grouping extends Object implements ISelfValidate
| Constructor and Description |
|---|
Grouping()
Initializes a new instance of the "Grouping" class.
|
Grouping(PropertyDefinitionBase groupOn,
SortDirection sortDirection,
PropertyDefinitionBase aggregateOn,
AggregateType aggregateType)
Initializes a new instance of the "Grouping" class.
|
| Modifier and Type | Method and Description |
|---|---|
PropertyDefinitionBase |
getAggregateOn()
Gets the property to aggregateOn.
|
AggregateType |
getAggregateType()
Gets the types of aggregate to calculate.
|
PropertyDefinitionBase |
getGroupOn()
Gets the property to group on.
|
SortDirection |
getSortDirection()
Gets the Sort Direction.
|
void |
setAggregateOn(PropertyDefinitionBase aggregateOn)
Sets the property to aggregateOn.
|
void |
setAggregateType(AggregateType aggregateType)
Sets the types of aggregate to calculate.
|
void |
setGroupOn(PropertyDefinitionBase groupOn)
sets the property to group on.
|
void |
setSortDirection(SortDirection sortDirection)
Sets the Sort Direction.
|
void |
validate()
Implements ISelfValidate.Validate.
|
protected void |
writeToXml(EwsServiceXmlWriter writer)
Writes to XML.
|
public Grouping()
public Grouping(PropertyDefinitionBase groupOn, SortDirection sortDirection, PropertyDefinitionBase aggregateOn, AggregateType aggregateType) throws Exception
groupOn - The property to group onsortDirection - The sort direction.aggregateOn - The property to aggregate on.aggregateType - The type of aggregate to calculate.Exception - the exceptionprotected void writeToXml(EwsServiceXmlWriter writer) throws XMLStreamException, ServiceXmlSerializationException
writer - the writerXMLStreamException - the XML stream exceptionServiceXmlSerializationException - the service xml serialization exceptionpublic SortDirection getSortDirection()
public void setSortDirection(SortDirection sortDirection)
sortDirection - the new sort directionpublic PropertyDefinitionBase getGroupOn()
public void setGroupOn(PropertyDefinitionBase groupOn)
groupOn - the new group onpublic PropertyDefinitionBase getAggregateOn()
public void setAggregateOn(PropertyDefinitionBase aggregateOn)
aggregateOn - the new aggregate onpublic AggregateType getAggregateType()
public void setAggregateType(AggregateType aggregateType)
aggregateType - the new aggregate typepublic void validate()
validate in interface ISelfValidateCopyright © 2012–2015 Microsoft. All rights reserved.