Class LiveSyncDeltaBuilder
java.lang.Object
org.identityconnectors.framework.common.objects.LiveSyncDeltaBuilder
Builder for
LiveSyncDelta
.-
Constructor Summary
ConstructorDescriptionCreate a newLiveSyncDeltaBuilder
Creates a newLiveSyncDeltaBuilder
whose values are initialized to those of the delta. -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Creates a LiveSyncDelta.Returns the object that changed.Gets the ObjectClass of the object that deleted.getUid()
Gets the Uid of the object that changed.setObject
(ConnectorObject object) Sets the object that changed and implicitly sets Uid if object is not null.setObjectClass
(ObjectClass objectClass) Sets the ObjectClass of the object that deleted.Sets the Uid of the object that changed.
-
Constructor Details
-
LiveSyncDeltaBuilder
public LiveSyncDeltaBuilder()Create a newLiveSyncDeltaBuilder
-
LiveSyncDeltaBuilder
Creates a newLiveSyncDeltaBuilder
whose values are initialized to those of the delta.- Parameters:
delta
- the original delta.
-
-
Method Details
-
getObjectClass
Gets the ObjectClass of the object that deleted.- Returns:
- The ObjectClass of the object that deleted.
-
setObjectClass
Sets the ObjectClass of the object that deleted. Note that this is implicitly set when you callsetObject(ConnectorObject)
.- Parameters:
objectClass
- The ObjectClass of the object that changed.
-
getUid
Gets the Uid of the object that changed.- Returns:
- The Uid of the object that changed.
-
setUid
Sets the Uid of the object that changed. Note that this is implicitly set when you callsetObject(ConnectorObject)
.- Parameters:
uid
- The Uid of the object that changed.
-
getObject
Returns the object that changed.- Returns:
- The object that changed. May be null for deletes.
-
setObject
Sets the object that changed and implicitly sets Uid if object is not null.- Parameters:
object
- The object that changed. May be null for deletes.
-
build
Creates a LiveSyncDelta. Prior to calling the following must be specified:Object
Uid
(this is implictly set when callingsetObject(ConnectorObject)
)
-