Skip navigation links


org.identityconnectors.framework.common.objects
Class SyncDelta

java.lang.Object
  extended by org.identityconnectors.framework.common.objects.SyncDelta


public final class SyncDelta
extends java.lang.Object

Represents a change to an object in a resource.

See Also:
SyncApiOp, SyncOp

Method Summary
 boolean equals(java.lang.Object o)
           
 SyncDeltaType getDeltaType()
          Returns the type of the change the occured.
 ConnectorObject getObject()
          Returns the connector object that changed.
 Uid getPreviousUid()
          If the change described by this SyncDelta modified the object's Uid, this method returns the Uid before the change.
 SyncToken getToken()
          Returns the SyncToken of the object that changed.
 Uid getUid()
          Returns the Uid of the connector object that changed.
 int hashCode()
           
 java.lang.String toString()
           

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

 

Method Detail

getPreviousUid

public Uid getPreviousUid()
If the change described by this SyncDelta modified the object's Uid, this method returns the Uid before the change. Not all resources can determine the previous Uid, so this method can return null.
Returns:
the previous Uid or null if it could not be determined or the change did not modify the Uid.

getUid

public Uid getUid()
Returns the Uid of the connector object that changed.
Returns:
The Uid.

getObject

public ConnectorObject getObject()
Returns the connector object that changed. This may be null in the case of delete.
Returns:
The object or possibly null if this represents a delete.

getToken

public SyncToken getToken()
Returns the SyncToken of the object that changed.
Returns:
the SyncToken of the object that changed.

getDeltaType

public SyncDeltaType getDeltaType()
Returns the type of the change the occured.
Returns:
The type of change that occured.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

Skip navigation links


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.