Class LiveSyncDeltaBuilder

java.lang.Object
org.identityconnectors.framework.common.objects.LiveSyncDeltaBuilder

public final class LiveSyncDeltaBuilder extends Object
Builder for LiveSyncDelta.
  • Constructor Details

    • LiveSyncDeltaBuilder

      public LiveSyncDeltaBuilder()
      Create a new LiveSyncDeltaBuilder
    • LiveSyncDeltaBuilder

      public LiveSyncDeltaBuilder(LiveSyncDelta delta)
      Creates a new LiveSyncDeltaBuilder whose values are initialized to those of the delta.
      Parameters:
      delta - the original delta.
  • Method Details

    • getObjectClass

      public ObjectClass getObjectClass()
      Gets the ObjectClass of the object that deleted.
      Returns:
      The ObjectClass of the object that deleted.
    • setObjectClass

      public LiveSyncDeltaBuilder setObjectClass(ObjectClass objectClass)
      Sets the ObjectClass of the object that deleted. Note that this is implicitly set when you call setObject(ConnectorObject).
      Parameters:
      objectClass - The ObjectClass of the object that changed.
    • getUid

      public Uid getUid()
      Gets the Uid of the object that changed.
      Returns:
      The Uid of the object that changed.
    • setUid

      public LiveSyncDeltaBuilder setUid(Uid uid)
      Sets the Uid of the object that changed. Note that this is implicitly set when you call setObject(ConnectorObject).
      Parameters:
      uid - The Uid of the object that changed.
    • getObject

      public ConnectorObject getObject()
      Returns the object that changed.
      Returns:
      The object that changed. May be null for deletes.
    • setObject

      public LiveSyncDeltaBuilder setObject(ConnectorObject object)
      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

      public LiveSyncDelta build()
      Creates a LiveSyncDelta. Prior to calling the following must be specified:
      1. Object
      2. Uid (this is implictly set when calling setObject(ConnectorObject))