| Constructor and Description |
|---|
SyncDeltaBuilder()
Create a new
SyncDeltaBuilder |
SyncDeltaBuilder(SyncDelta delta)
Creates a new
SyncDeltaBuilder whose values are initialized
to those of the delta. |
| Modifier and Type | Method and Description |
|---|---|
SyncDelta |
build()
Creates a SyncDelta.
|
SyncDeltaType |
getDeltaType()
Returns the type of the change that occurred.
|
ConnectorObject |
getObject()
Returns the object that changed.
|
ObjectClass |
getObjectClass()
Gets the ObjectClass of the object that deleted.
|
Uid |
getPreviousUid()
Gets the Uid of the object before the change.
|
SyncToken |
getToken()
Returns the
SyncToken of the object that changed. |
Uid |
getUid()
Gets the Uid of the object that changed.
|
SyncDeltaBuilder |
setDeltaType(SyncDeltaType type)
Sets the type of the change that occurred.
|
SyncDeltaBuilder |
setObject(ConnectorObject object)
Sets the object that changed and implicitly sets Uid if object is not
null.
|
SyncDeltaBuilder |
setObjectClass(ObjectClass objectClass)
Sets the ObjectClass of the object that deleted.
|
SyncDeltaBuilder |
setPreviousUid(Uid previousUid)
Sets the Uid of the object before the change.
|
SyncDeltaBuilder |
setToken(SyncToken token)
Sets the
SyncToken of the object that changed. |
SyncDeltaBuilder |
setUid(Uid uid)
Sets the Uid of the object that changed.
|
public SyncDeltaBuilder()
SyncDeltaBuilderpublic SyncDeltaBuilder(SyncDelta delta)
SyncDeltaBuilder whose values are initialized
to those of the delta.delta - The original delta.public SyncToken getToken()
SyncToken of the object that changed.SyncToken of the object that changed.public SyncDeltaBuilder setToken(SyncToken token)
SyncToken of the object that changed.token - the SyncToken of the object that changed.public SyncDeltaType getDeltaType()
public SyncDeltaBuilder setDeltaType(SyncDeltaType type)
type - The type of change that occurred.public Uid getPreviousUid()
public SyncDeltaBuilder setPreviousUid(Uid previousUid)
previousUid - The Uid of the object before the change.public ObjectClass getObjectClass()
public SyncDeltaBuilder setObjectClass(ObjectClass objectClass)
setObject(ConnectorObject).objectClass - The ObjectClass of the object that changed.public Uid getUid()
public SyncDeltaBuilder setUid(Uid uid)
setObject(ConnectorObject).uid - The Uid of the object that changed.public ConnectorObject getObject()
public SyncDeltaBuilder setObject(ConnectorObject object)
object - The object that changed. May be null for deletes.Copyright © 2022. All rights reserved.