microsoft.exchange.webservices.data
Class ItemGroup<TItem extends Item>

java.lang.Object
  extended by microsoft.exchange.webservices.data.ItemGroup<TItem>
Type Parameters:
TItem - the generic type

public final class ItemGroup<TItem extends Item>
extends java.lang.Object

Represents a group of items as returned by grouped item search operations.


Constructor Summary
protected ItemGroup(java.lang.String groupIndex, java.util.List<TItem> items)
          Initializes a new instance of the class.
 
Method Summary
 java.lang.String getGroupIndex()
          Gets an index identifying the group.
 java.util.Collection<TItem> getItems()
          Gets a collection of the items in this group.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemGroup

protected ItemGroup(java.lang.String groupIndex,
                    java.util.List<TItem> items)
Initializes a new instance of the class.

Parameters:
groupIndex - the group index
items - the items
Method Detail

getGroupIndex

public java.lang.String getGroupIndex()
Gets an index identifying the group.

Returns:
the group index

getItems

public java.util.Collection<TItem> getItems()
Gets a collection of the items in this group.

Returns:
the items