Class SyncToken
- java.lang.Object
-
- org.identityconnectors.framework.common.objects.SyncToken
-
public final class SyncToken extends java.lang.Object
Abstract "place-holder" for synchronization. The application must not make any attempt to interpret the value of the token. From the standpoint of the application the token is merely a black-box. The application may only persist the value of the token for use on subsequent synchronization requests.What this token represents is entirely connector-specific. On some connectors this might be a last-modified value. On others, it might be a unique ID of a log table entry. On others such as JMS, this might be a dummy value since JMS itself keeps track of the state of the sync.
-
-
Constructor Summary
Constructors Constructor Description SyncToken(java.lang.Object value)
Creates a new
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.Object
getValue()
Returns the value for the token.int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getValue
public java.lang.Object getValue()
Returns the value for the token.- Returns:
- The value for the token.
-
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
-
-