|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.identityconnectors.framework.common.objects.SyncDeltaBuilder
public final class SyncDeltaBuilder
Builder for SyncDelta.
| Constructor Summary | |
|---|---|
SyncDeltaBuilder()
Create a new SyncDeltaBuilder |
|
SyncDeltaBuilder(SyncDelta delta)
Creates a new SyncDeltaBuilder whose values are
initialized to those of the delta. |
|
| Method Summary | |
|---|---|
SyncDelta |
build()
Creates a SyncDelta. |
SyncDeltaType |
getDeltaType()
Returns the type of the change that occurred. |
ConnectorObject |
getObject()
Returns the object that changed. |
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. |
void |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SyncDeltaBuilder()
SyncDeltaBuilder
public SyncDeltaBuilder(SyncDelta delta)
SyncDeltaBuilder whose values are
initialized to those of the delta.
delta - The original delta.| Method Detail |
|---|
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 void setPreviousUid(Uid previousUid)
previousUid - The Uid of the object before the change.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.public SyncDelta build()
Object (for anything other than
delete)Uid (this is implictly set when calling
setObject(ConnectorObject))TokenDeltaType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||