org.apache.directory.api.ldap.extras.controls
Class SyncDoneValueImpl
java.lang.Object
org.apache.directory.api.ldap.model.message.controls.AbstractControl
org.apache.directory.api.ldap.extras.controls.SyncDoneValueImpl
- All Implemented Interfaces:
- SyncDoneValue, org.apache.directory.api.ldap.model.message.Control
public class SyncDoneValueImpl
- extends org.apache.directory.api.ldap.model.message.controls.AbstractControl
- implements SyncDoneValue
A simple SyncDoneValue implementation to store control properties.
- Version:
- $Rev$, $Date$
- Author:
- Apache Directory Project
| Fields inherited from interface org.apache.directory.api.ldap.extras.controls.SyncDoneValue |
OID |
| Methods inherited from class org.apache.directory.api.ldap.model.message.controls.AbstractControl |
getOid, isCritical, setCritical |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.Control |
getOid, isCritical, setCritical |
SyncDoneValueImpl
public SyncDoneValueImpl()
- Creates a new instance of SyncDoneValueImpl.
SyncDoneValueImpl
public SyncDoneValueImpl(boolean isCritical)
- Creates a new instance of SyncDoneValueImpl.
- Parameters:
isCritical - The critical flag
getCookie
public byte[] getCookie()
-
- Specified by:
getCookie in interface SyncDoneValue
- Returns:
- the cookie
setCookie
public void setCookie(byte[] cookie)
-
- Specified by:
setCookie in interface SyncDoneValue
- Parameters:
cookie - cookie to be set
isRefreshDeletes
public boolean isRefreshDeletes()
-
- Specified by:
isRefreshDeletes in interface SyncDoneValue
- Returns:
- true, if refreshDeletes flag is set, false otherwise
setRefreshDeletes
public void setRefreshDeletes(boolean refreshDeletes)
-
- Specified by:
setRefreshDeletes in interface SyncDoneValue
- Parameters:
refreshDeletes - set the refreshDeletes flag
hashCode
public int hashCode()
- Overrides:
hashCode in class org.apache.directory.api.ldap.model.message.controls.AbstractControl
- See Also:
Object.hashCode()
equals
public boolean equals(Object o)
- Overrides:
equals in class org.apache.directory.api.ldap.model.message.controls.AbstractControl
- See Also:
Object.equals(Object)
toString
public String toString()
- Overrides:
toString in class org.apache.directory.api.ldap.model.message.controls.AbstractControl
- See Also:
Object.toString()
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.