Class Change
- java.lang.Object
-
- 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
Constructors Modifier Constructor Description protectedChange()Initializes a new instance of Change.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract ServiceIdcreateId()Initializes a new instance of Change.ChangeTypegetChangeType()Gets the type of the change.ServiceIdgetId()Gets the Id of the service object the change applies to.ServiceObjectgetServiceObject()Gets the service object the change applies to.voidsetChangeType(ChangeType changeType)sets the type of the change.voidsetId(ServiceId id)Sets the id.voidsetServiceObject(ServiceObject serviceObject)Sets the service object.
-
-
-
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
-
-