Class SyncToken
- java.lang.Object
-
- org.identityconnectors.framework.common.objects.SyncToken
-
public final class SyncToken extends java.lang.ObjectAbstract "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 booleanequals(java.lang.Object o)java.lang.ObjectgetValue()Returns the value for the token.inthashCode()java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-