microsoft.exchange.webservices.data
Class Change

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

public abstract class Change
extends java.lang.Object

Represents a change as returned by a synchronization operation.


Constructor Summary
protected Change()
          Initializes a new instance of Change.
 
Method Summary
protected abstract  ServiceId createId()
          Initializes a new instance of Change.
 ChangeType getChangeType()
          Gets the type of the change.
protected  ServiceId getId()
          Gets the Id of the service object the change applies to.
protected  ServiceObject getServiceObject()
          Gets the service object the change applies to.
protected  void setChangeType(ChangeType changeType)
          sets the type of the change.
protected  void setId(ServiceId id)
          Sets the id.
protected  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

protected 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

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

Parameters:
changeType - the new change type

getServiceObject

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

Returns:
the service object

setServiceObject

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

Parameters:
serviceObject - the new service object

getId

protected 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

protected void setId(ServiceId id)
Sets the id.

Parameters:
id - the new id