Class SyncDoneValueImpl
- java.lang.Object
-
- org.apache.directory.api.ldap.model.message.controls.AbstractControl
-
- org.apache.directory.api.ldap.extras.controls.syncrepl.syncDone.SyncDoneValueImpl
-
- All Implemented Interfaces:
SyncDoneValue,Control
public class SyncDoneValueImpl extends AbstractControl implements SyncDoneValue
A simpleSyncDoneValueimplementation to store control properties.- Version:
- $Rev$, $Date$
- Author:
- Apache Directory Project
-
-
Field Summary
-
Fields inherited from interface org.apache.directory.api.ldap.extras.controls.syncrepl.syncDone.SyncDoneValue
OID
-
-
Constructor Summary
Constructors Constructor Description SyncDoneValueImpl()Creates a new instance of SyncDoneValueImpl.SyncDoneValueImpl(boolean isCritical)Creates a new instance of SyncDoneValueImpl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)byte[]getCookie()inthashCode()booleanisRefreshDeletes()voidsetCookie(byte[] cookie)voidsetRefreshDeletes(boolean refreshDeletes)StringtoString()Return a String representing a Control-
Methods inherited from class org.apache.directory.api.ldap.model.message.controls.AbstractControl
getOid, isCritical, setCritical
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.Control
getOid, isCritical, setCritical
-
-
-
-
Method Detail
-
getCookie
public byte[] getCookie()
- Specified by:
getCookiein interfaceSyncDoneValue- Returns:
- the cookie
-
setCookie
public void setCookie(byte[] cookie)
- Specified by:
setCookiein interfaceSyncDoneValue- Parameters:
cookie- cookie to be set
-
isRefreshDeletes
public boolean isRefreshDeletes()
- Specified by:
isRefreshDeletesin interfaceSyncDoneValue- Returns:
- true, if refreshDeletes flag is set, false otherwise
-
setRefreshDeletes
public void setRefreshDeletes(boolean refreshDeletes)
- Specified by:
setRefreshDeletesin interfaceSyncDoneValue- Parameters:
refreshDeletes- set the refreshDeletes flag
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractControl- See Also:
Object.hashCode()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classAbstractControl- See Also:
Object.equals(Object)
-
toString
public String toString()
Description copied from class:AbstractControlReturn a String representing a Control- Overrides:
toStringin classAbstractControl- See Also:
Object.toString()
-
-