microsoft.exchange.webservices.data.sync
Class Change

java.lang.Object
  extended by microsoft.exchange.webservices.data.sync.Change
Direct Known Subclasses:
FolderChange, ItemChange

public abstract class Change
extends Object

Represents a change as returned by a synchronization operation.


Constructor Summary
protected Change()
          Initializes a new instance of Change.
 
Method Summary
abstract  ServiceId createId()
          Initializes a new instance of Change.
 ChangeType getChangeType()
          Gets the type of the change.
 ServiceId getId()
          Gets the Id of the service object the change applies to.
 ServiceObject getServiceObject()
          Gets the service object the change applies to.
 void setChangeType(ChangeType changeType)
          sets the type of the change.
 void setId(ServiceId id)
          Sets the id.
 void setServiceObject(ServiceObject serviceObject)
          Sets the service object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Change

protected Change()
Initializes a new instance of Change.

Method Detail

createId

public abstract ServiceId createId()
Initializes a new instance of Change.

Returns:
the service id

getChangeType

public ChangeType getChangeType()
Gets the type of the change.

Returns:
the change type

setChangeType

public void setChangeType(ChangeType changeType)
sets the type of the change.

Parameters:
changeType - the new change type

getServiceObject

public ServiceObject getServiceObject()
Gets the service object the change applies to.

Returns:
the service object

setServiceObject

public void setServiceObject(ServiceObject serviceObject)
Sets the service object.

Parameters:
serviceObject - the new service object

getId

public ServiceId getId()
                throws ServiceLocalException
Gets the Id of the service object the change applies to.

Returns:
the id
Throws:
ServiceLocalException - the service local exception

setId

public void setId(ServiceId id)
Sets the id.

Parameters:
id - the new id


Copyright © 2012–2015 Microsoft. All rights reserved.