Class SyncDelta
- java.lang.Object
-
- org.identityconnectors.framework.common.objects.LiveSyncDelta
-
- org.identityconnectors.framework.common.objects.SyncDelta
-
public final class SyncDelta extends LiveSyncDelta
Represents a change to an object in a resource.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)SyncDeltaTypegetDeltaType()Returns the type of the change the occured.UidgetPreviousUid()If the change described by thisSyncDeltamodified the object's Uid, this method returns the Uid before the change.SyncTokengetToken()Returns theSyncTokenof the object that changed.inthashCode()StringtoString()-
Methods inherited from class org.identityconnectors.framework.common.objects.LiveSyncDelta
getObject, getObjectClass, getUid
-
-
-
-
Method Detail
-
getPreviousUid
public Uid getPreviousUid()
If the change described by thisSyncDeltamodified the object's Uid, this method returns the Uid before the change. Not all resources can determine the previous Uid, so this method can returnnull.- Returns:
- the previous Uid or null if it could not be determined or the change did not modify the Uid.
-
getToken
public SyncToken getToken()
Returns theSyncTokenof the object that changed.- Returns:
- the
SyncTokenof 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 String toString()
- Overrides:
toStringin classLiveSyncDelta
-
hashCode
public int hashCode()
- Overrides:
hashCodein classLiveSyncDelta
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classLiveSyncDelta
-
-