public class AdDirSyncImpl extends org.apache.directory.api.ldap.model.message.controls.AbstractControl implements AdDirSync
| Modifier and Type | Field and Description |
|---|---|
private byte[] |
cookie
The DirSync cookie
|
private Set<AdDirSyncFlag> |
flags
Flags used to control return values (client-to-server) or indicate that there are more data to return (server-to-client)
|
private int |
maxReturnLength
The maximum number of attributes to return
|
| Constructor and Description |
|---|
AdDirSyncImpl()
Creates an instance of the DirSync control
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFlag(AdDirSyncFlag flag) |
boolean |
equals(Object o) |
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() |
getOid, isCritical, setCriticalprivate Set<AdDirSyncFlag> flags
private int maxReturnLength
private byte[] cookie
public Set<AdDirSyncFlag> getFlags()
public void setFlags(Set<AdDirSyncFlag> flags)
public void addFlag(AdDirSyncFlag flag)
public void removeFlag(AdDirSyncFlag flag)
removeFlag in interface AdDirSyncflag - The flag to be removed from the current collection of flags.public int getMaxReturnLength()
getMaxReturnLength in interface AdDirSyncpublic void setMaxReturnLength(int maxReturnLength)
setMaxReturnLength in interface AdDirSyncmaxReturnLength - The maximum length of attributes to be returnedpublic byte[] getCookie()
public void setCookie(byte[] cookie)
public int hashCode()
hashCode in class org.apache.directory.api.ldap.model.message.controls.AbstractControlObject.hashCode()public boolean equals(Object o)
equals in class org.apache.directory.api.ldap.model.message.controls.AbstractControlObject.equals(Object)public String toString()
toString in class org.apache.directory.api.ldap.model.message.controls.AbstractControlObject.toString()Copyright © 2003–2017 The Apache Software Foundation. All rights reserved.