Class SyncStateValueImpl

java.lang.Object
org.apache.directory.api.ldap.model.message.controls.AbstractControl
org.apache.directory.api.ldap.extras.controls.syncrepl.syncState.SyncStateValueImpl
All Implemented Interfaces:
SyncStateValue, org.apache.directory.api.ldap.model.message.Control

public class SyncStateValueImpl extends org.apache.directory.api.ldap.model.message.controls.AbstractControl implements SyncStateValue
A simple SyncStateValue Control implementation.
Version:
$Rev$, $Date$
Author:
Apache Directory Project
  • Constructor Details

    • SyncStateValueImpl

      public SyncStateValueImpl()
      SyncStateValueImpl Creates a new instance of SyncDoneValueImpl.
    • SyncStateValueImpl

      public SyncStateValueImpl(boolean isCritical)
      Creates a new instance of SyncStateValueImpl.
      Parameters:
      isCritical - The critical flag
  • Method Details

    • getCookie

      public byte[] getCookie()
      get the cookie
      Specified by:
      getCookie in interface SyncStateValue
      Returns:
      The cookie
    • setCookie

      public void setCookie(byte[] cookie)
      Set the cookie
      Specified by:
      setCookie in interface SyncStateValue
      Parameters:
      cookie - The cookie to set
    • getSyncStateType

      public SyncStateTypeEnum getSyncStateType()
      Get the the syncState's type
      Specified by:
      getSyncStateType in interface SyncStateValue
      Returns:
      The syncState's type
    • setSyncStateType

      public void setSyncStateType(SyncStateTypeEnum syncStateType)
      set the syncState's type
      Specified by:
      setSyncStateType in interface SyncStateValue
      Parameters:
      syncStateType - the syncState's type
    • getEntryUUID

      public byte[] getEntryUUID()
      Get the entryUUID
      Specified by:
      getEntryUUID in interface SyncStateValue
      Returns:
      the entryUUID
    • setEntryUUID

      public void setEntryUUID(byte[] entryUUID)
      Set the entryUUID
      Specified by:
      setEntryUUID in interface SyncStateValue
      Parameters:
      entryUUID - The entryUUID
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class org.apache.directory.api.ldap.model.message.controls.AbstractControl
      See Also:
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class org.apache.directory.api.ldap.model.message.controls.AbstractControl
      See Also:
    • toString

      public String toString()
      Overrides:
      toString in class org.apache.directory.api.ldap.model.message.controls.AbstractControl
      See Also: