Class SyncDelta
java.lang.Object
org.identityconnectors.framework.common.objects.SyncDelta
Represents a change to an object in a resource.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the type of the change the occured.Returns the connector object that changed.If the change described by thisSyncDelta.DELETEand the deleted object value isnull, this method returns the ObjectClass of the deleted object.If the change described by thisSyncDeltamodified the object's Uid, this method returns the Uid before the change.getToken()Returns theSyncTokenof the object that changed.getUid()Returns the Uid of the connector object that changed.inthashCode()toString()
-
Method Details
-
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.
-
getObjectClass
If the change described by thisSyncDelta.DELETEand the deleted object value isnull, this method returns the ObjectClass of the deleted object. If operation syncsObjectClass.ALLthis must be set, otherwise this method can returnnull.- Returns:
- the ObjectClass of the deleted object.
-
getUid
Returns the Uid of the connector object that changed.- Returns:
- The Uid.
-
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
Returns theSyncTokenof the object that changed.- Returns:
- the
SyncTokenof the object that changed.
-
getDeltaType
Returns the type of the change the occured.- Returns:
- The type of change that occured.
-
toString
-
hashCode
public int hashCode() -
equals
-