java.lang.Object
org.identityconnectors.framework.common.objects.SyncToken

public final class SyncToken extends 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 Details

    • SyncToken

      public SyncToken(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).
  • Method Details

    • getValue

      public Object getValue()
      Returns the value for the token.
      Returns:
      The value for the token.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object