|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.sync.ChangeCollection<TChange>
TChange - the generic typepublic final class ChangeCollection<TChange extends Change>
Represents a collection of changes as returned by a synchronization operation.
| Constructor Summary | |
|---|---|
ChangeCollection()
Initializes a new instance of the class. |
|
| Method Summary | |
|---|---|
void |
add(TChange change)
Adds the specified change. |
TChange |
getChangeAtIndex(int index)
Gets an individual change from the change collection. |
int |
getCount()
Gets the number of changes in the collection. |
boolean |
getMoreChangesAvailable()
Gets the SyncState blob returned by a synchronization operation. |
String |
getSyncState()
Gets the SyncState blob returned by a synchronization operation. |
Iterator<TChange> |
iterator()
Returns an iterator over a set of elements of type T. |
void |
setMoreChangesAvailable(boolean moreChangesAvailable)
Sets the more changes available. |
void |
setSyncState(String syncState)
Sets the sync state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChangeCollection()
| Method Detail |
|---|
public void add(TChange change)
change - the changepublic int getCount()
public TChange getChangeAtIndex(int index)
index - the index
public String getSyncState()
public void setSyncState(String syncState)
syncState - the new sync statepublic boolean getMoreChangesAvailable()
public void setMoreChangesAvailable(boolean moreChangesAvailable)
moreChangesAvailable - the new more changes availablepublic Iterator<TChange> iterator()
iterator in interface Iterable<TChange extends Change>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||