Class ExpandGroupResults
- java.lang.Object
-
- microsoft.exchange.webservices.data.misc.ExpandGroupResults
-
- All Implemented Interfaces:
Iterable<EmailAddress>
public final class ExpandGroupResults extends Object implements Iterable<EmailAddress>
Represents the results of an ExpandGroup operation.
-
-
Constructor Summary
Constructors Constructor Description ExpandGroupResults()Initializes a new instance of the class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCount()Gets the number of members that were returned by the ExpandGroup operation.booleangetIncludesAllMembers()Gets a value indicating whether all the members of the group have been returned by ExpandGroup.Collection<EmailAddress>getMembers()Gets the members of the expanded group.Iterator<EmailAddress>iterator()Returns an iterator over a set of elements of type T.voidloadFromXml(EwsServiceXmlReader reader)Gets the members of the expanded group.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
ExpandGroupResults
public ExpandGroupResults()
Initializes a new instance of the class.
-
-
Method Detail
-
getCount
public int getCount()
Gets the number of members that were returned by the ExpandGroup operation. Count might be less than the total number of members in the group, in which case the value of the IncludesAllMembers is false.- Returns:
- the count
-
getIncludesAllMembers
public boolean getIncludesAllMembers()
Gets a value indicating whether all the members of the group have been returned by ExpandGroup.- Returns:
- the includes all members
-
getMembers
public Collection<EmailAddress> getMembers()
Gets the members of the expanded group.- Returns:
- the members
-
loadFromXml
public void loadFromXml(EwsServiceXmlReader reader) throws Exception
Gets the members of the expanded group.- Parameters:
reader- the reader- Throws:
Exception- the exception
-
iterator
public Iterator<EmailAddress> iterator()
Returns an iterator over a set of elements of type T.- Specified by:
iteratorin interfaceIterable<EmailAddress>- Returns:
- an Iterator.
-
-