Skip navigation links
org.identityconnectors.framework.common.objects
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 |
SyncToken(java.lang.Object value)
Creates a new |
Method Summary |
boolean |
equals(java.lang.Object o)
|
java.lang.Object |
getValue()
Returns the value for the token. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SyncToken
public SyncToken(java.lang.Object value)
- Creates a new
- Parameters:
value
- May not be null. TODO: define set of allowed value types (currently same as set of allowed attribute values).
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 class java.lang.Object
hashCode
public int hashCode()
-
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
-
- Overrides:
equals
in class java.lang.Object
Skip navigation links
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.