Class AdDirSyncImpl
- java.lang.Object
-
- org.apache.directory.api.ldap.model.message.controls.AbstractControl
-
- org.apache.directory.api.ldap.extras.controls.ad.AdDirSyncImpl
-
public class AdDirSyncImpl extends AbstractControl implements AdDirSync
The class implemnting the AdDirsSync interface- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description AdDirSyncImpl()
Creates an instance of the DirSync control
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFlag(AdDirSyncFlag flag)
boolean
equals(Object other)
byte[]
getCookie()
Set<AdDirSyncFlag>
getFlags()
int
getMaxReturnLength()
int
hashCode()
void
removeFlag(AdDirSyncFlag flag)
void
setCookie(byte[] cookie)
void
setFlags(Set<AdDirSyncFlag> flags)
void
setMaxReturnLength(int maxReturnLength)
String
toString()
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 interface org.apache.directory.api.ldap.model.message.Control
getOid, isCritical, setCritical
-
-
-
-
Constructor Detail
-
AdDirSyncImpl
public AdDirSyncImpl()
Creates an instance of the DirSync control
-
-
Method Detail
-
getFlags
public Set<AdDirSyncFlag> getFlags()
-
setFlags
public void setFlags(Set<AdDirSyncFlag> flags)
-
addFlag
public void addFlag(AdDirSyncFlag flag)
-
removeFlag
public void removeFlag(AdDirSyncFlag flag)
- Specified by:
removeFlag
in interfaceAdDirSync
- Parameters:
flag
- The flag to be removed from the current collection of flags.
-
getMaxReturnLength
public int getMaxReturnLength()
- Specified by:
getMaxReturnLength
in interfaceAdDirSync
- Returns:
- The maximum length of attributes to be returned
-
setMaxReturnLength
public void setMaxReturnLength(int maxReturnLength)
- Specified by:
setMaxReturnLength
in interfaceAdDirSync
- Parameters:
maxReturnLength
- The maximum length of attributes to be returned
-
getCookie
public byte[] getCookie()
-
setCookie
public void setCookie(byte[] cookie)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractControl
- See Also:
Object.hashCode()
-
equals
public boolean equals(Object other)
- Overrides:
equals
in classAbstractControl
- See Also:
Object.equals(Object)
-
toString
public String toString()
Description copied from class:AbstractControl
Return a String representing a Control- Overrides:
toString
in classAbstractControl
- See Also:
Object.toString()
-
-