Class SyncDelta
- java.lang.Object
-
- org.identityconnectors.framework.common.objects.SyncDelta
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
SyncDeltaType
getDeltaType()
Returns the type of the change the occured.ConnectorObject
getObject()
Returns the connector object that changed.ObjectClass
getObjectClass()
If the change described by thisSyncDelta.DELETE
and the deleted object value isnull
, this method returns the ObjectClass of the deleted object.Uid
getPreviousUid()
If the change described by thisSyncDelta
modified the object's Uid, this method returns the Uid before the change.SyncToken
getToken()
Returns theSyncToken
of the object that changed.Uid
getUid()
Returns the Uid of the connector object that changed.int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getPreviousUid
public Uid getPreviousUid()
If the change described by thisSyncDelta
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 returnnull
.- Returns:
- the previous Uid or null if it could not be determined or the change did not modify the Uid.
-
getObjectClass
public ObjectClass getObjectClass()
If the change described by thisSyncDelta.DELETE
and the deleted object value isnull
, this method returns the ObjectClass of the deleted object. If operation syncsObjectClass.ALL
this must be set, otherwise this method can returnnull
.- Returns:
- the ObjectClass of the deleted object.
-
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 theSyncToken
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 classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
-